File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
static/endorsement/js/tab Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 3131 "end_date" : null ,
3232 "stage" : null
3333 }
34+ },
35+ {
36+ "model" : " endorsement.itbillquantity" ,
37+ "pk" : 4 ,
38+ "fields" : {
39+ "provision" : 3 ,
40+ "quantity" : 2 ,
41+ "start_date" : " 2025-04-04" ,
42+ "end_date" : " 2025-09-29" ,
43+ "stage" : null
44+ }
45+ },
46+ {
47+ "model" : " endorsement.itbillquantity" ,
48+ "pk" : 5 ,
49+ "fields" : {
50+ "provision" : 3 ,
51+ "quantity" : 9 ,
52+ "start_date" : " 2025-12-01" ,
53+ "end_date" : null ,
54+ "stage" : null
55+ }
3456 }
3557]
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ var ManageSharedDrives = (function () {
215215 var starting = this . start_date ? moment ( this . start_date ) : null ,
216216 ending = this . end_date ? moment ( this . end_date ) : null ,
217217 is_future = starting && starting . diff ( billing_period_end ) > 0 && this . quota_limit != drive . drive . drive_quota . quota_limit ,
218- is_ending = ending && ending . diff ( billing_period_end ) < 0 && ending . diff ( billing_period_start ) > 0 ,
218+ is_ending = ending && ending . diff ( billing_period_start ) > 0 && ending . diff ( billing_period_end ) < 0 && ending . diff ( now ) > 0 && this . quota_limit != drive . drive . drive_quota . quota_limit ,
219219 is_increasing = this . quota_limit > drive . drive . drive_quota . quota_limit ,
220220 is_decreasing = this . quota_limit < drive . drive . drive_quota . quota_limit ,
221221 is_changing = ( is_future || is_ending ) ;
You can’t perform that action at this time.
0 commit comments