diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-18 21:43:36 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-18 21:43:36 +0800 |
commit | a1ffbd6c0cb3278e4cf99dae021d96587512e5e2 (patch) | |
tree | 68203b4a973f64abb2bf21cfa668ceefbf0f9025 /include | |
parent | ce6ee07e9f428c7bb75782c1b7bc476fab051eb4 (diff) | |
parent | 7954efc7c63f17481996da3fd5002fb1e207adf3 (diff) |
Merge branch 'master' into sicepat
Diffstat (limited to 'include')
-rw-r--r-- | include/checkout/shipping_address | 4 | ||||
-rw-r--r-- | include/profiles/profiles.order | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/checkout/shipping_address b/include/checkout/shipping_address index 2a6c2d1..1b23086 100644 --- a/include/checkout/shipping_address +++ b/include/checkout/shipping_address @@ -43,12 +43,12 @@ return $options; </div> <div class="form-group col-md-8"> <label class="form-label" for="district_shipping">[L]District[/L]</label> - <select name="address3" id="district_shipping" class="form-control" onchange="this.form.submit()"> + <select name="address2" id="district_shipping" class="form-control" onchange="this.form.submit()"> <option value="-- [L]Please select[/L] --">-- [L]Please select[/L] --</option>[perl products] my $options = ''; for my $district (@{$Tag->query({sql => "SELECT district FROM anteraja WHERE city='" . $Tag->value({keep => 1, filter => encode_entities, name => 'city'}) . "' GROUP BY district ORDER BY district"})}) { $options .= qq( - <option value="$district->[0]") . ($district->[0] eq $Tag->value({keep => 1, filter => encode_entities, name => 'address3'}) ? ' selected' : '') . ">$district->[0]</option>"; + <option value="$district->[0]") . ($district->[0] eq $Tag->value({keep => 1, filter => encode_entities, name => 'address2'}) ? ' selected' : '') . ">$district->[0]</option>"; } return $options; [/perl] diff --git a/include/profiles/profiles.order b/include/profiles/profiles.order index 10c9726..aff4db9 100644 --- a/include/profiles/profiles.order +++ b/include/profiles/profiles.order @@ -2,9 +2,10 @@ __NAME__ bank_transfer fname=required address1=required -address3=required +address2=required city=required state=required +zip=required &fatal=yes &final=yes &set = mv_payment Bank transfer |