From abe04096328a3ec8f595ed4a0156a9caf41f2189 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 8 Aug 2019 16:33:39 +0200 Subject: [PATCH] Second commit --- .../src/billingSystem/BillingSystem.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Billing System/src/billingSystem/BillingSystem.java b/Billing System/src/billingSystem/BillingSystem.java index e21b6ef..fd86c3e 100644 --- a/Billing System/src/billingSystem/BillingSystem.java +++ b/Billing System/src/billingSystem/BillingSystem.java @@ -596,8 +596,8 @@ public class BillingSystem { textFieldTotal.setText(total); - textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.pChrome + Cost_Of_Material.pCooper - + Cost_Of_Material.pPlastic)); + textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.Chrome + Cost_Of_Material.Cooper + + Cost_Of_Material.Plastic)); textFieldCostOfLabor.setText(String.format("%.2f",Cost_Of_Material.Labour)); textFieldMileage.setText(String.format("%.2f",Cost_Of_Material.Travel)); @@ -625,8 +625,8 @@ public class BillingSystem { textFieldTotal.setText(total); - textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.pChrome + Cost_Of_Material.pCooper - + Cost_Of_Material.pPlastic)); + textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.Chrome + Cost_Of_Material.Cooper + + Cost_Of_Material.Plastic)); textFieldCostOfLabor.setText(String.format("%.2f",Cost_Of_Material.Labour)); textFieldMileage.setText(String.format("%.2f",Cost_Of_Material.Travel)); @@ -654,7 +654,7 @@ public class BillingSystem { textFieldTotal.setText(total); - textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.pChrome + Cost_Of_Material.pCooper + textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.Chrome + Cost_Of_Material.Cooper + Cost_Of_Material.pPlastic)); textFieldCostOfLabor.setText(String.format("%.2f",Cost_Of_Material.Labour)); @@ -683,8 +683,8 @@ public class BillingSystem { textFieldTotal.setText(total); - textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.pChrome + Cost_Of_Material.pCooper - + Cost_Of_Material.pPlastic)); + textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.Chrome + Cost_Of_Material.Cooper + + Cost_Of_Material.Plastic)); textFieldCostOfLabor.setText(String.format("%.2f",Cost_Of_Material.Labour)); textFieldMileage.setText(String.format("%.2f",Cost_Of_Material.Travel)); @@ -712,7 +712,7 @@ public class BillingSystem { textFieldTotal.setText(total); - textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.pChrome + Cost_Of_Material.pCooper + textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.Chrome + Cost_Of_Material.Cooper + Cost_Of_Material.pPlastic)); textFieldCostOfLabor.setText(String.format("%.2f",Cost_Of_Material.Labour)); @@ -741,8 +741,8 @@ public class BillingSystem { textFieldTotal.setText(total); - textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.pChrome + Cost_Of_Material.pCooper - + Cost_Of_Material.pPlastic)); + textFieldCostOfMaterial.setText(String.format("%.2f",Cost_Of_Material.Chrome + Cost_Of_Material.Cooper + + Cost_Of_Material.Plastic)); textFieldCostOfLabor.setText(String.format("%.2f",Cost_Of_Material.Labour)); textFieldMileage.setText(String.format("%.2f",Cost_Of_Material.Travel));