diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-14 11:53:57 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-14 11:53:57 +0800 |
commit | 1400ab4a12f460d34a4da579403c8869942bf530 (patch) | |
tree | 467fece4f0538ecbcc4f1f77765d4630c1515642 /config | |
parent | 85bc0f37e4a178f0d25441301316b76282d28d6a (diff) |
Handle SiCepat case for cost
Diffstat (limited to 'config')
-rw-r--r-- | config/pikul_cost.tag | 7 |
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); |