{% extends '@Core/base.html.twig' %} {% block sidebar %} {% render controller('CoreBundle:Default:sidebarConfiguration') %} {% endblock %} {% block sectionTitle %}Empresa{% endblock %} {% block breadcrumbLinks %}
  • Empresa
  • {% if elemento %}
  • Editar
  • {% else %}
  • Nuevo
  • {% endif %} {% endblock %} {% block content %}
    Editar una empresa
    {% for flash_message in app.session.flashBag.get('success') %}
    {{ flash_message }}
    {% endfor %} {% for flash_message in app.session.flashBag.get('error') %}
    {{ flash_message }}
    {% endfor %} {% if elemento %}

    {{ elemento.getName }} {{ elemento.getAddress }}, {{ elemento.getZip }} - {{ elemento.getCity }} ({{ elemento.getTypeProvince }})

    {% endif %}
    {% form_theme form 'bootstrap_3_layout.html.twig' %} {{ form_start(form) }} {{ form_errors(form) }}
    {{ form_row(form.typeStatus) }}

    Datos de la empresa

    {{ form_row(form.group) }}
    {{ form_row(form.name) }}
    {{ form_row(form.alias) }}
    {{ form_row(form.cif) }}
    {{ form_row(form.nameForLabels) }}

    Datos de facturación

    {{ form_row(form.invoiceSuffixTicket) }} {% if elemento %} Último número: {{ elemento.invoiceSuffixIteratorTicket }} {% endif %}
    {{ form_row(form.invoiceSuffix) }} {% if elemento %} Último número: {{ elemento.invoiceSuffixIterator }} {% endif %}
    {{ form_row(form.invoiceSuffixReturn) }} {% if elemento %} Último número: {{ elemento.invoiceSuffixIteratorReturn }} {% endif %}
    {{ form_row(form.textForInvoices) }}
    {% if elemento.id %} {% endif %} {% if elemento.id %}

    Datos de facturación web

    {% if elemento %} Último número de factura en pedido web: {{ elemento.invoiceSuffixIteratorWeborder }} {% endif %}
    {% if elemento %} Último número de factura en devolución web: {{ elemento.invoiceSuffixIteratorReturnWeborder }} {% endif %}
    {% endif %}

    Configuracion Ticket BAI

    {{ form_row(form.isEnabledTicketBAI) }}


    {{ form_row(form.isRecargaoEquivalenciaEnabledTicketBAI) }}
    {{ form_row(form.isRegimenEspecialSimplificadoIVAEnabledTicketBAI) }}

    Datos de contacto

    {{ form_row(form.address) }}
    {{ form_row(form.city) }}
    {{ form_row(form.typeProvince) }}
    {{ form_row(form.zip) }}
    {{ form_row(form.website) }}
    {{ form_row(form.telephone) }}
    {{ form_row(form.email) }}

    Logos e imágenes

    {{ form_row(form.file) }}
    {{ form_row(form.fileCompany) }}

    Descripción de la empresa

    {{ form_row(form.profile_description) }}
    {% if elemento is not null %} {% if elemento.webPathCompany() %}

    Imágen actual de la empresa

    {% endif %} {% endif %}
    {{ form_end(form) }}
    {% for bankAccount in banksAccounts %} {% endfor %}
    Entidad Bancaria Número de cuenta Cuenta por defecto para pedidos
    {{ bankAccount.name }} {{ bankAccount.accountNumber }}
    {% for printer in printers %} {% endfor %}
    Por defecto Nombre Tamaño de papel Tipo de Papel Columnas Filas Margen Vertical mm. Margen Horizontal mm. Acciones
    {% if elemento.defaultPrinter %} {% if elemento.defaultPrinter.id == printer.id %} {% else %} {% endif %} {% else %} {% endif %} {{ printer.name }} {{ printer.paperSize }} {{ printer.typePaper }} {{ printer.columns }} {{ printer.rows }} {{ printer.marginVertical }} {{ printer.marginHorizontal }}
    {% for labelingMachine in labelingMachines %} {% endfor %}
    Por defecto Nombre Tamaño de etiqueta Tipo de Papel Columnas Ancho rollo mm. Margen izquierdo Margen Vertical mm. Margen Horizontal mm. Acciones
    {% if elemento.defaultLabelingMachine %} {% if elemento.defaultLabelingMachine.id == labelingMachine.id %} {% else %} {% endif %} {% else %} {% endif %} {{ labelingMachine.name }} {{ labelingMachine.labelSize }} {{ labelingMachine.typePaper }} {{ labelingMachine.columns }} {{ labelingMachine.tapeWidth }} {{ labelingMachine.leftMargin }} {{ labelingMachine.marginVertical }} {{ labelingMachine.marginHorizontal }}
    {% form_theme formCompanyTaxes 'bootstrap_3_layout.html.twig' %} {{ form_start(formCompanyTaxes) }} {{ form_errors(formCompanyTaxes) }}

    Impuesto repercutido

    {{ form_row(formCompanyTaxes.taxes) }}

    Impuesto soportado

    {{ form_row(formCompanyTaxes.taxSupported) }}
    {{ form_end(formCompanyTaxes) }}
    {% if elemento %} {% if user.isAdmin == false %} {% if elemento.group.groupConfiguration.isTrendico %}
    {% form_theme formCompanyTrendicoBasic 'bootstrap_3_layout.html.twig' %} {{ form_start(formCompanyTrendicoBasic) }} {{ form_errors(formCompanyTrendicoBasic) }}

    Informes FTP Trendico

    {{ form_row(formCompanyTrendicoBasic.istrendicoFTPIntegration) }}
    {{ form_row(formCompanyTrendicoBasic.trendicoFTPIntegrationUrl) }}
    {{ form_row(formCompanyTrendicoBasic.trendicoFTPIntegrationUser) }}
    {{ form_row(formCompanyTrendicoBasic.trendicoFTPIntegrationPassword) }}

    Marcas incluídas en los infomes FTP Trendico para esta empresa

    {{ form_end(formCompanyTrendicoBasic) }}
    {% endif %} {% endif %} {% endif %}
    {% for flash_message in app.session.flashBag.get('success') %}
    {{ flash_message }}
    {% endfor %} {% for flash_message in app.session.flashBag.get('error') %}
    {{ flash_message }}
    {% endfor %} {{ render (controller('CoreBundle:Printers:_openModalNewPrinter', {'form' : formNewPrinter }))}} {{ render (controller('CoreBundle:Printers:_openModalNewLabelingMachine', {'form' : formNewLabelingMachine}))}}
    {% endblock%}