diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-24 18:15:08 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-24 18:15:08 +0800 |
commit | 3dd8b4fd7b317c78872a251fd1ed68d17b54d834 (patch) | |
tree | ed4958c19fdea968f038d031697b515789718403 /config | |
parent | c6df3badb5865c6bc296d1addbcf67e6e8e4ff1b (diff) |
Destination code relies on district only
Diffstat (limited to 'config')
-rw-r--r-- | config/pikul.tag | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/pikul.tag b/config/pikul.tag index 336d6ef..5f49ff0 100644 --- a/config/pikul.tag +++ b/config/pikul.tag @@ -57,8 +57,8 @@ sub { $origins[$company] = $::Variable->{SICEPAT_ORIGIN} || $Global::Variable->{SICEPAT_ORIGIN}; $destinations[$company] = $Tag->query({sql => "SELECT code FROM sicepat_destination\ - WHERE district='$district' AND city='$city' AND \ - province='$province'", wantarray => 1})->[0]->[0] || ''; + WHERE district LIKE '%$district%'", + wantarray => 1})->[0]->[0] || ''; $code_prefixes[$company] = 'sicepat_'; $name_prefixes[$company] = 'SiCepat '; } |