diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-02-06 10:06:40 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-02-06 10:06:40 +0700 |
| commit | 43d859b6c51697a8cff9f543154934ea045d1378 (patch) | |
| tree | 49e28daf18cdc00794d776017bea9c4c3224b772 | |
| parent | e990d1d8af808fe2cc5f7218df12849f9ee370a9 (diff) | |
<iman> ubah logic warning limit
| -rw-r--r-- | indoteknik_custom/models/user_pengajuan_tempo_request.py | 2 |
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 = [] |
