Plugin Directory

Changeset 2555668


Ignore:
Timestamp:
06/29/2021 08:58:51 AM (5 years ago)
Author:
hfddev
Message:

הוספת שם עיר בנקודת חלוקה

Location:
hfd-integration/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • hfd-integration/trunk/hfd-woocommerce-epost.php

    r2536274 r2555668  
    44Plugin URI:
    55Description: Add shipping method of ePost, allowing the user on the checkout, to select the pickup location point from a google map popup. Also allows to synch the order to HFD API after the order is created.
    6 Version: 2.0.0
     6Version: 2.1.0
    77Author: HFD
    88Author URI: https://www.hfd.co.il
  • hfd-integration/trunk/js/epost-admin.js

    r2393139 r2555668  
    5454            for( i in spots ){
    5555                spot = spots[i];
    56                 locations[i] = spot.name + ', ' + spot.house + ' ' + spot.street;
     56                locations[i] = spot.name + ' - ' + spot.house + ' ' + spot.street + ' - ' +city;
    5757            }
    5858            var spotList = $( '#spot-list' );
  • hfd-integration/trunk/js/epost-list.js

    r2393139 r2555668  
    8282          var i, city, option
    8383          for (i in cities) {
    84             city = cities[i]
    85             option = $j('<option>', {value: city, text: city})
    86             if (selected && selected === city) {
     84            city = cities[i];
     85            //city = city.replace( /\(/g, " )" );
     86            var nth = 0;
     87            city = city.replace(/\)/g, function (match, i, original) {
     88                nth++;
     89                return (nth === 1) ? "(" : match;
     90            });
     91            var nnth = 0;
     92            city = city.replace(/\(/g, function (match, i, original) {
     93                nnth++;
     94                return (nnth === 2) ? ")" : match;
     95            });
     96            option = $j('<option>', { value: city, text: city } )
     97            if( selected && selected === city ){
    8798              option.attr('selected', 'selected');
    8899            }
     
    121132        for (i in spots) {
    122133          spot = spots[i];
    123           locations[i] = spot.name + ', ' + spot.house + ' ' + spot.street;
     134          locations[i] = spot.name + ' - ' + spot.street + ' ' + spot.house + ' - ' + city;
    124135        }
    125136
  • hfd-integration/trunk/languages/betanet_epost-he_IL.po

    r2458311 r2555668  
    44"Report-Msgid-Bugs-To: \n"
    55"POT-Creation-Date: 2021-01-18 12:08+0000\n"
    6 "PO-Revision-Date: 2021-01-18 12:09+0000\n"
     6"PO-Revision-Date: 2021-06-28 12:55+0000\n"
    77"Last-Translator: \n"
    88"Language-Team: עִבְרִית\n"
     
    1313"Content-Transfer-Encoding: 8bit\n"
    1414"X-Generator: Loco https://localise.biz/\n"
    15 "X-Loco-Version: 2.4.3; wp-5.5.3"
     15"X-Loco-Version: 2.5.2; wp-5.7.2"
    1616
    1717msgid "Branch name"
     
    3131
    3232msgid "Please choose pickup branch"
    33 msgstr "בחר ענף איסוף to אנא בחר נקודות איסוף"
     33msgstr "אנא בחר נקודת חלוקה"
    3434
    3535msgid "Please enter an address"
  • hfd-integration/trunk/readme.txt

    r2536274 r2555668  
    6666
    6767== Changelog ==
     68= 2.1 =
     69* הוספת שם עיר בנקודת חלוקה
    6870= 2.0 =
    6971* הוספת תמיכה ב hooks עבור מתכנתים
Note: See TracChangeset for help on using the changeset viewer.