From 813fc5a6f334bc9e317f70f65811cc2450f8e207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 13 Jul 2021 18:34:24 +0800 Subject: Tidy up a bit --- usertag/anteraja_cost.tag | 7 +++---- 1 file 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]; -- cgit v1.2.3