Jump to content

Edit History

ps8modules

ps8modules

Hi @Mehmet Ekiz

If you need and ask in English, you need to give screenshots written in English.

You can make a modification in the file ./src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/customer.html.twig

Example before:

          {% for line in orderForViewing.invoiceAddressFormatted|split("\n") %}
            <p class="mb-0">{{ line }}</p>
          {% endfor %}

 

Example after:

          {#** % for line in orderForViewing.invoiceAddressFormatted|split("\n") %}
            <p class="mb-0">{{ line }}</p>
          {% endfor % **#}
          <p class="mb-0">{{ 'Name'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.firstname  }} {{ orderForViewing.invoiceAddress.lastname  }}</p>
          <p class="mb-0">{{ 'Company'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.companyName  }}</p>
          <p class="mb-0">{{ 'VAT'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.vatNumber  }}</p>

 

The values for Invoice address are "orderForViewing.invoiceAddress.xx"

  • addressId

  • firstName

  • lastName

  • companyName

  • vatNumber

  • address1

  • address2

  • cityName

  • stateName

  • countryName

  • postCode

  • phoneNumber

  • mobilePhoneNumber

  • dni

 

 

ps8modules

ps8modules

Hi @Mehmet Ekiz

You can make a modification in the file ./src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/customer.html.twig

Example before:

          {% for line in orderForViewing.invoiceAddressFormatted|split("\n") %}
            <p class="mb-0">{{ line }}</p>
          {% endfor %}

 

Example after:

          {#** % for line in orderForViewing.invoiceAddressFormatted|split("\n") %}
            <p class="mb-0">{{ line }}</p>
          {% endfor % **#}
          <p class="mb-0">{{ 'Name'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.firstname  }} {{ orderForViewing.invoiceAddress.lastname  }}</p>
          <p class="mb-0">{{ 'Company'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.companyName  }}</p>
          <p class="mb-0">{{ 'VAT'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.vatNumber  }}</p>

 

The values for Invoice address are "orderForViewing.invoiceAddress.xx"

  • addressId

  • firstName

  • lastName

  • companyName

  • vatNumber

  • address1

  • address2

  • cityName

  • stateName

  • countryName

  • postCode

  • phoneNumber

  • mobilePhoneNumber

  • dni

 

 

ps8modules

ps8modules

Hi @Mehmet Ekiz

You can make a modification in the file ./src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/customer.html.twig

Example before:

          {% for line in orderForViewing.invoiceAddressFormatted|split("\n") %}
            <p class="mb-0">{{ line }}</p>
          {% endfor %}

 

Example after:

          {#** % for line in orderForViewing.invoiceAddressFormatted|split("\n") %}
            <p class="mb-0">{{ line }}</p>
          {% endfor % **#}
          <p class="mb-0">{{ 'Name'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.firstname  }} {{ orderForViewing.invoiceAddress.lastname  }}</p>
          <p class="mb-0">{{ 'Company'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.companyName  }}</p>
          <p class="mb-0">{{ 'VAT'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.vatNumber  }}</p>

 

The values for Invoice address are (orderForViewing.invoiceAddress.xx😞

  • addressId

  • firstName

  • lastName

  • companyName

  • vatNumber

  • address1

  • address2

  • cityName

  • stateName

  • countryName

  • postCode

  • phoneNumber

  • mobilePhoneNumber

  • dni

 

 

ps8modules

ps8modules

Hi.

You can make a modification in the file ./src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/customer.html.twig

Example before:

          {% for line in orderForViewing.invoiceAddressFormatted|split("\n") %}
            <p class="mb-0">{{ line }}</p>
          {% endfor %}

 

Example after:

          {#** % for line in orderForViewing.invoiceAddressFormatted|split("\n") %}
            <p class="mb-0">{{ line }}</p>
          {% endfor % **#}
          <p class="mb-0">{{ 'Name'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.firstname  }} {{ orderForViewing.invoiceAddress.lastname  }}</p>
          <p class="mb-0">{{ 'Company'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.companyName  }}</p>
          <p class="mb-0">{{ 'VAT'|trans({}, 'Admin.Orderscustomers.Feature') }}: {{ orderForViewing.invoiceAddress.vatNumber  }}</p>

 

The values for Invoice address are (orderForViewing.invoiceAddress.xx):

  • addressId

  • firstName

  • lastName

  • companyName

  • vatNumber

  • address1

  • address2

  • cityName

  • stateName

  • countryName

  • postCode

  • phoneNumber

  • mobilePhoneNumber

  • dni

 

 

×
×
  • Create New...