summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-11-26 14:20:48 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-11-26 14:20:48 +0700
commitf01c853cec6302fcfce62bab278d1bda57f1f131 (patch)
tree0a260211e60322c5e2e6e0c044bee43217e02b23 /indoteknik_custom/models/purchasing_job.py
parent447c98f3079af31a850dd3898190da1063f45cf0 (diff)
parenta5894d7d55b48e15a2c61759d6ffc04f8ba17c79 (diff)
Merge branch 'cr/cr_vendor_approval' into production
Diffstat (limited to 'indoteknik_custom/models/purchasing_job.py')
-rw-r--r--indoteknik_custom/models/purchasing_job.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchasing_job.py b/indoteknik_custom/models/purchasing_job.py
index bf5ed8c4..4efb0cd4 100644
--- a/indoteknik_custom/models/purchasing_job.py
+++ b/indoteknik_custom/models/purchasing_job.py
@@ -57,7 +57,7 @@ class PurchasingJob(models.Model):
max(pjs.status_apo::text) AS status_apo,
max(pjs.note::text) AS note,
CASE
- WHEN sub.vendor_id = 5571 THEN 27
+ WHEN pmp.brand IN ('Tekiro', 'RYU', 'Rexco') THEN 27
WHEN sub.vendor_id = 9688 THEN 397
WHEN sub.vendor_id = 35475 THEN 397
WHEN sub.vendor_id = 29712 THEN 397