summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-11-29 10:35:39 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-11-29 10:35:39 +0700
commit75cad0da1476a2e605ef5d0f35cfb58944831934 (patch)
tree6cc7e014ef006e8d7794f2b6f50437bef61dd724 /indoteknik_custom/models/purchasing_job.py
parentfd5617629243b879e020afbdb2f1957d2e419ae4 (diff)
parentfa3da08e5c0837e1492a3b00b17b7492c07ac676 (diff)
Merge branch 'production' into CR/website-improvment
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