{% extends 'base.html.twig' %} {% block title %}Client Details{% endblock %} {% block body %} {% set subName = 'szczegóły'|upper %}
{% set name = 'klienci'|upper %} {{ include('nav/top_menu/top_menu.html.twig') }}

Szczegóły Klienta

{{ include('client/horizontal_menu/horizontal_menu.html.twig') }}

Dane klienta

{% if client.company.fullName == '' %} {% set varFullName = '-' %} {% else %} {% set varFullName = client.company.fullName %} {% endif %}
{% if client.company.shortName == '' %} {% set varShortName = '-' %} {% else %} {% set varShortName = client.company.shortName %} {% endif %}
{% if client.company.logo == '' %} {% set varLogo = '-' %} {% else %} {% set varLogo = client.company.logo %} {% endif %}
{% if client.company.postalCode == '' %} {% set varHqAddress = '-' %} {% else %} {% set varHqAddress = "#{client.company.postalCode} #{client.company.city} #{client.company.street} #{client.company.buildNumber}" %} {% endif %}
{% if client.addressForCorrespondence == '' %} {% set varAddressForCorrespondence = '-' %} {% else %} {% set varAddressForCorrespondence = client.addressForCorrespondence %} {% endif %}
{% if client.company.gusAddress == '' %} {% set varGusAddress = '-' %} {% else %} {% set varGusAddress = client.company.gusAddress %} {% endif %}
{% if client.shipper == '' %} {% set varShipper = '-' %} {% else %} {% set varShipper = client.shipper %} {% endif %}
{% if client.industry == '' %} {% set varIndustry = '-' %} {% else %} {% set varIndustry = client.industry %} {% endif %}
{% if client.www == '' %} {% set varWww = '-' %} {% else %} {% set varWww = client.www %} {% endif %}
{% if client.email == '' %} {% set varEmail = '-' %} {% else %} {% set varEmail = client.email %} {% endif %}
{% if client.phoneNumber == '' %} {% set varPhoneNumber = '-' %} {% else %} {% set varPhoneNumber = client.phoneNumber %} {% endif %}
{% if client.secondPhoneNumber == '' %} {% set varSecondPhoneNumber = '-' %} {% else %} {% set varSecondPhoneNumber = client.secondPhoneNumber %} {% endif %}
{% if client.fax == '' %} {% set varFax = '-' %} {% else %} {% set varFax = client.fax %} {% endif %}
{% if client.isVerified == '' %} {% set varIsVerified = 'NIE' %} {% else %} {% set varIsVerified = 'TAK' %} {% endif %}
{% if client.company.assignmentNipScan == '' %} {% set varAssignmentNipScan = '-' %} {% else %} {% set varAssignmentNipScan = client.company.assignmentNipScan %} {% endif %}
{% if client.eInvoice == '' %} {% set varEInvoice = 'NIE' %} {% else %} {% set varEInvoice = 'TAK' %} {% endif %}

Dane cd.

{% if client.company.nip == 0 %} {% set varNip = '-' %} {% else %} {% set varNip = client.company.nip %} {% endif %}
{% if client.company.assignmentNipScan == '' %} {% set varAssignmentNipScan = '-' %} {% else %} {% set varAssignmentNipScan = client.company.assignmentNipScan %} {% endif %}
{% if client.company.regon == 0 %} {% set varRegon = '-' %} {% else %} {% set varRegon = client.company.regon %} {% endif %}
{% if client.company.assignmentRegonScan == '' %} {% set varAssignmentRegonScan = '-' %} {% else %} {% set varAssignmentRegonScan = client.company.assignmentRegonScan %} {% endif %}
{% if client.company.edgCeidgKrs == '' %} {% set varEdgCeidgKrs = '-' %} {% else %} {% set varEdgCeidgKrs = client.company.edgCeidgKrs %} {% endif %}
{% if client.dueDate == 0 %} {% set varDueDate = '0' %} {% else %} {% set varDueDate = client.dueDate %} {% endif %}
{% if client.daysIsVindication == 0 %} {% set varDaysIsVindication = '-' %} {% else %} {% set varDaysIsVindication = client.daysIsVindication %} {% endif %}
{% if client.daysIsBlocked == 0 %} {% set varDaysIsBlocked = '-' %} {% else %} {% set varDaysIsBlocked = client.daysIsBlocked %} {% endif %}
{% if client.isKrd == false %} {% set varIsKrd = 'NIE' %} {% else %} {% set varIsKrd = 'TAK' %} {% endif %}
{% if client.isActive == false %} {% set varIsActive = 'NIE' %} {% else %} {% set varIsActive = 'TAK' %} {% endif %}
{% if client.loyaltyProgram == '' %} {% set varLoyaltyProgram = '-' %} {% else %} {% set varLoyaltyProgram = client.loyaltyProgram %} {% endif %}
{% if client.comments == '' %} {% set varClientComments = '-' %} {% else %} {% set varClientComments = client.comments %} {% endif %}
{% if client.company.bankAccountNumber == '' %} {% set varBankAccountNumber = '-' %} {% else %} {% set varBankAccountNumber = client.company.bankAccountNumber %} {% endif %}
{% if client.company.otherAttachments == '' %} {% set varOtherAttachments = '-' %} {% else %} {% set varOtherAttachments = client.company.otherAttachments %} {% endif %}
{% endblock %}