summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/pikul_cost.tag5
-rw-r--r--products/ship/shipping.asc4
2 files changed, 9 insertions, 0 deletions
diff --git a/config/pikul_cost.tag b/config/pikul_cost.tag
index 88f960e..da09040 100644
--- a/config/pikul_cost.tag
+++ b/config/pikul_cost.tag
@@ -10,6 +10,11 @@ sub {
"$Global::Variable->{ANTERAJA_SECRET_ACCESS_KEY}"
);
$table = 'anteraja';
+ } elsif ($company == 1) {
+ @provisions = (
+ "$Global::Variable->{SICEPAT_API_KEY}"
+ );
+ $table = 'sicepat_destination';
}
use Pikul;
Pikul::init($company, \@provisions);
diff --git a/products/ship/shipping.asc b/products/ship/shipping.asc
index fab032e..238f819 100644
--- a/products/ship/shipping.asc
+++ b/products/ship/shipping.asc
@@ -1,3 +1,7 @@
anteraja: Anteraja Regular
crit weight
cost f [pikul_cost company=0 origin='@_ANTERAJA_ORIGIN_@' district='[evalue address3]' city='[evalue city]' province='[evalue state]' weight=@@TOTAL@@ service='REG']
+
+sicepat: SiCepat Regular
+ crit weight
+ cost f [pikul_cost company=1 origin='@_SICEPAT_ORIGIN_@' district='[evalue address3]' city='[evalue city]' province='[evalue state]' weight=@@TOTAL@@ service='REG']