Announcement

Collapse
No announcement yet.

Change City & PLZ

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change City & PLZ

    Hi, how can ich change City <-> PLZ that is PLZ first in account view

  • #2
    client/src/views/fields/address.js

    client/res/templates/fields/address/edit.tpl

    Comment


    • #3
      Thx. edit was easy - i change div and rdy
      but adress i have
      ------------------------------------------------------------------------------------------------

      if (cityValue || stateValue || postalCodeValue) {
      if (html != '') {
      html += '<br>'
      }
      if (cityValue) {
      html += cityValue;
      }
      if (stateValue) {
      if (cityValue) {
      html += ', ';
      }
      html += stateValue;

      }
      if (postalCodeValue) {
      if (cityValue || stateValue) {
      html += ' ';
      }
      html += postalCodeValue;
      }

      }
      ----------------------------------------------------------------------------------------------------
      change
      ---------------------------------------------------------------------------------------------------
      if (postalCodeValue || cityValue || stateValue ) {
      if (html != '') {
      html += '<br>'
      }
      if (postalCodeValue) {
      if (cityValue || stateValue) {
      html += ' ';
      }
      html += postalCodeValue;

      }
      if (cityValue) {
      html += cityValue;
      }
      if (stateValue) {
      if (cityValue) {
      html += ', ';
      }
      html += stateValue;
      }

      }

      ----------------------------------------------------------------------------------------------------
      and i missng a blanc/space btw. plz and city

      wh is wrong?
      Last edited by Palme; 04-09-2016, 01:23 PM.

      Comment


      • #4
        html += postalCodeValue + ' ';

        Comment


        • #5
          Click image for larger version

Name:	deutsche adresse.jpg
Views:	261
Size:	6.0 KB
ID:	22164
          Ich habe nach dem Update auf 4 Adressformate wieder ein deutsches Format gefixt. Wenn jemand es braucht stelle ich es ein.
          Last edited by Palme; 05-25-2016, 12:23 PM.

          Comment

          Working...
          X