summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--catalog.cfg2
-rw-r--r--config/pikul_cost.tag2
2 files changed, 3 insertions, 1 deletions
diff --git a/catalog.cfg b/catalog.cfg
index f693615..8974467 100644
--- a/catalog.cfg
+++ b/catalog.cfg
@@ -756,3 +756,5 @@ SearchProfile include/profiles/searchprofiles
Jobs log __LOGDIR__/jobs.log
Jobs base_directory etc/jobs
+
+Variable PIKUL_ANTERAJA 0
diff --git a/config/pikul_cost.tag b/config/pikul_cost.tag
index 88f960e..c4c057b 100644
--- a/config/pikul_cost.tag
+++ b/config/pikul_cost.tag
@@ -3,7 +3,7 @@ UserTag pikul_cost Routine <<EOR
sub {
my ($company, $origin, $district, $city, $province, $weight, $service) = @_;
my (@provisions, $table);
- if ($company == 0) {
+ if ($company == $Global::Variable->{PIKUL_ANTERAJA}) {
@provisions = (
"$Global::Variable->{ANTERAJA_BASE_PATH}",
"$Global::Variable->{ANTERAJA_ACCESS_KEY_ID}",