mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 06:38:45 +05:00
StoredCdr.FormatUsage now considers Data, StoredCdr.MangleDataUsage to properly export CDR objects
This commit is contained in:
@@ -121,7 +121,7 @@ func (fwv *FixedWidthCdrWriter) cdrFieldValue(cdr *utils.StoredCdr, cfgHdr, layo
|
||||
case utils.COST:
|
||||
cdrVal = cdr.FormatCost(fwv.costShiftDigits, fwv.roundDecimals)
|
||||
case utils.USAGE:
|
||||
cdrVal = cdr.FormatDuration(layout)
|
||||
cdrVal = cdr.FormatUsage(layout)
|
||||
case utils.SETUP_TIME:
|
||||
cdrVal = cdr.SetupTime.Format(layout)
|
||||
case utils.ANSWER_TIME: // Format time based on layout
|
||||
|
||||
Reference in New Issue
Block a user