summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-02-06 10:06:40 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-02-06 10:06:40 +0700
commit43d859b6c51697a8cff9f543154934ea045d1378 (patch)
tree49e28daf18cdc00794d776017bea9c4c3224b772
parente990d1d8af808fe2cc5f7218df12849f9ee370a9 (diff)
<iman> ubah logic warning limit
-rw-r--r--indoteknik_custom/models/user_pengajuan_tempo_request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/user_pengajuan_tempo_request.py b/indoteknik_custom/models/user_pengajuan_tempo_request.py
index 29cf391c..b6103bbb 100644
--- a/indoteknik_custom/models/user_pengajuan_tempo_request.py
+++ b/indoteknik_custom/models/user_pengajuan_tempo_request.py
@@ -598,8 +598,8 @@ class UserPengajuanTempoRequest(models.Model):
# user.send_company_request_approve_mail()
self.user_company_id.property_payment_term_id = self.tempo_duration.id
self.user_company_id.active_limit = True
- self.user_company_id.warning_stage = float(limit_tempo) - (float(limit_tempo)/2)
self.user_company_id.blocking_stage = limit_tempo
+ self.user_company_id.warning_stage = float(limit_tempo) - (float(limit_tempo)/2)
# Internal Notes
comment = []