From 1400ab4a12f460d34a4da579403c8869942bf530 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: Wed, 14 Jul 2021 11:53:57 +0800 Subject: Handle SiCepat case for cost --- config/pikul_cost.tag | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- cgit v1.2.3