|
@@ -1059,8 +1059,8 @@ internal partial class ProfileHandler
|
|
|
chargingCost = confirmbill.Count > 0 ? confirmbill.Sum(x => x.Total) : chargingCost;
|
|
|
receipt += string.Format("|Total Energy Fee : ${0}", chargingCost);
|
|
|
|
|
|
- receipt += string.Format("|Parking Fee: | {0} - {1} @ ${2}/hr= ${3}", feedto.StartTime.ToString("hh:mm tt", new CultureInfo("en-us")),
|
|
|
- feedto.StopTime.ToString("hh:mm tt", new CultureInfo("en-us")), parkingFee, parkingCost);
|
|
|
+ receipt += string.Format("|Parking Fee: | {0} - {1}: | {2} @ ${3}/hr= ${4}", feedto.StartTime.ToString("hh:mm tt", new CultureInfo("en-us")),
|
|
|
+ feedto.StopTime.ToString("hh:mm tt", new CultureInfo("en-us")), (totalHours / 1 >= 1) ? string.Format("{0} hours {1} minutes", (int)totalHours / 1, ((totalHours % 1) * 60).ToString("0.0")) : string.Format("{0} minutes", ((totalHours % 1) * 60).ToString("0.0")), parkingFee, parkingCost);
|
|
|
receipt += string.Format("|Stop Reason: {0}", tx.StopReason);
|
|
|
|
|
|
tx.Cost = chargingCost + parkingCost;
|