summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 13:32:43 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 13:32:43 +0800
commit43929b8af66de2f976af54943095c3f747e12bd4 (patch)
treeebade00dc355a000dad8f2d18db1f698201d2072 /include
parent6b0dc5cd4ad686655d25ce8133d93eb3ddcea83b (diff)
parent656e42c2db476b655058ddf81d51e72db5b53777 (diff)
Merge branch 'master' into sicepat
Diffstat (limited to 'include')
-rw-r--r--include/checkout/shipping_address6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/checkout/shipping_address b/include/checkout/shipping_address
index 5b2b24e..2a6c2d1 100644
--- a/include/checkout/shipping_address
+++ b/include/checkout/shipping_address
@@ -20,7 +20,7 @@
<select name="state" id="province_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 $province (@{$Tag->query({sql => "SELECT province FROM shipping GROUP BY province ORDER BY province"})}) {
+for my $province (@{$Tag->query({sql => "SELECT province FROM anteraja GROUP BY province ORDER BY province"})}) {
$options .= qq(
<option value="$province->[0]") . ($province->[0] eq $Tag->value({keep => 1, filter => encode_entities, name => 'state'}) ? ' selected' : '') . ">$province->[0]</option>";
}
@@ -33,7 +33,7 @@ return $options;
<select name="city" id="city_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 $city (@{$Tag->query({sql => "SELECT city FROM shipping WHERE province='" . $Tag->value({keep => 1, filter => encode_entities, name => 'state'}) . "' GROUP BY city ORDER BY city"})}) {
+for my $city (@{$Tag->query({sql => "SELECT city FROM anteraja WHERE province='" . $Tag->value({keep => 1, filter => encode_entities, name => 'state'}) . "' GROUP BY city ORDER BY city"})}) {
$options .= qq(
<option value="$city->[0]") . ($city->[0] eq $Tag->value({keep => 1, filter => encode_entities, name => 'city'}) ? ' selected' : '') . ">$city->[0]</option>";
}
@@ -46,7 +46,7 @@ return $options;
<select name="address3" 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 shipping WHERE city='" . $Tag->value({keep => 1, filter => encode_entities, name => 'city'}) . "' GROUP BY district ORDER BY district"})}) {
+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>";
}