summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-13 18:34:24 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-13 18:34:24 +0800
commit813fc5a6f334bc9e317f70f65811cc2450f8e207 (patch)
tree1f028f251bf4e9ac95c7771eb369a1dd4182e202
parentb179d21603d21fcf6730720ef7aefdcf646add7b (diff)
Tidy up a bit
-rw-r--r--usertag/anteraja_cost.tag7
1 files changed, 3 insertions, 4 deletions
diff --git a/usertag/anteraja_cost.tag b/usertag/anteraja_cost.tag
index 8c840f1..ac18a86 100644
--- a/usertag/anteraja_cost.tag
+++ b/usertag/anteraja_cost.tag
@@ -4,10 +4,9 @@ sub {
my ($district, $city, $province, $weight) = @_;
my @provisions = ( "@@ANTERAJA_BASE_PATH@@", "@@ANTERAJA_ACCESS_KEY_ID@@",
"@@ANTERAJA_SECRET_ACCESS_KEY@@" );
- my $origin = $Tag->query({sql => "SELECT code FROM \
- shipping WHERE district='". "__DISTRICT__" ."' AND city='"
- . "__CITY__" . "' AND province='" . "__PROVINCE__" . "'", wantarray
- => 1})->[0]->[0];
+ my $origin = $Tag->query({sql => "SELECT code FROM shipping WHERE district='". "__DISTRICT__"
+ ."' AND city='". "__CITY__" . "' AND province='" . "__PROVINCE__" . "'",
+ wantarray=> 1})->[0]->[0];
my $destination = $Tag->query({sql => "SELECT code FROM shipping WHERE district='" . $district
. "' AND city='" . $city . "' AND province='" . $province . "'",
wantarray=> 1})->[0]->[0];