Commit 7d227d2c2b00fb7c72fd54587d121aa58ca99d38

Authored by Adhidarma Hadiwinoto
1 parent e4aa3e26d8
Exists in master

calculateBaseBillAmount biaya

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -141,8 +141,8 @@ function splitPostpaidDetail(str) {
141 141 return retval;
142 142 }
143 143  
144   -function calculateBaseBillAmount(detailSplitted) {
145   - const keywords = ['TAGIHAN', 'DENDA', 'RPPREMI'];
  144 +function calculateBaseBillAmount(detailSplitted, customKeywords) {
  145 + const keywords = customKeywords || ['TAGIHAN', 'DENDA', 'RPPREMI', 'BIAYA'];
146 146  
147 147 let retval = 0;
148 148 let detailCount = (detailSplitted || []).length;