summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 11:53:57 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 11:53:57 +0800
commit1400ab4a12f460d34a4da579403c8869942bf530 (patch)
tree467fece4f0538ecbcc4f1f77765d4630c1515642 /config
parent85bc0f37e4a178f0d25441301316b76282d28d6a (diff)
Handle SiCepat case for cost
Diffstat (limited to 'config')
-rw-r--r--config/pikul_cost.tag7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/pikul_cost.tag b/config/pikul_cost.tag
index 9b36e3b..0906414 100644
--- a/config/pikul_cost.tag
+++ b/config/pikul_cost.tag
@@ -13,6 +13,13 @@ sub {
$origin = "$Tag->var('ANTERAJA_ORIGIN', 2)";
$table = 'anteraja';
}
+ when (1) {
+ @provisions = (
+ "$Tag->var('SICEPAT_API_KEY', 2)"
+ );
+ $origin = "$Tag->var('SICEPAT_ORIGIN', 2)";
+ $table = 'sicepat_destination';
+ }
}
use Pikul;
Pikul::init($company, $provisions);