Revision: f71ee29a9d
Edited Detention Charge
@@ -1 +1,96 @@
-No Content
+### **Customer Detail Page Configuration**
+
+By clicking an edit button named "Detention Charge for Customer" and "Detention Charge for Supplier" in Customer Detail page. This feature allows users to configure the halting charge amount for both customers and suppliers. The configured amounts will be automatically applied as **"Detention Charge"** while processing balances for customers and suppliers.
+
+![](/files/l0bJrxC.png)
+
+### **Detention Charge Calculation**
+
+#### **Example:**
+
+ **Customer Halting Charge Per Day:** ₹1000
+
+ **Supplier Halting Charge Per Day:** ₹500
+
+ **Trip Details:**
+
+ **D-In:** 03-Dec-2024, 4:00 PM
+
+ **D-Out:** 05-Dec-2024, 7:00 PM
+
+ **Halting Time:** 2 days (rounded based on configured logic)
+
+ **Charges Applied:**
+
+ **Supplier:** ₹1000 (₹500/day \* 2 days)
+
+ **Customer:** ₹2000 (₹1000/day \* 2 days)
+
+
+### **Halting Charge Calculation for Multi-Point Trips**
+
+The system calculates halting charges separately for each stop in a multi-point trip.
+
+#### **Example:**
+
+**Point A:**
+
+ **D-In:** 03-Dec-2024, 4:00 PM
+
+ **D-Out:** 04-Dec-2024, 4:00 PM (1-day halting)
+
+ **Halting Charge for Customer:** ₹1000/day \* 1 day = ₹1000
+
+**Point B:**
+
+ **D-In:** 05-Dec-2024, 8:00 AM
+
+ **D-Out:** 07-Dec-2024, 8:00 AM (2-day halting)
+
+ **Halting Charge for Customer:** ₹1000/day \* 2 days = ₹2000
+
+
+**Total Halting Charge for Customer:** ₹1000 + ₹2000 = ₹3000
+
+
+### **Supplier Balance Tab**
+
+ While processing supplier balances in the **Balance Module**, a calculated **Halting Charge Amount** will be displayed above the **Submit** button. Users can edit the halting charge from the **Trip Detail Page**. The updated amount will be added to the existing balance.
+
+![](/files/accGLip.png)
+
+### **Customer Balance Tab**
+
+ While processing customer balances in the **Balance Module**, a calculated **Halting Charge Amount** will be displayed above the **Submit** button. Users can modify this charge from the **Trip Detail Page**, and the updated amount will be added to the existing balance.
+
+![](/files/vH9IMLy.png)
+
+### **Trip Detail Page**
+
+1. The system will automatically calculate and apply the halting charge once the trip status changes to **POD Pending (D-Out).**
+2. Users can modify the halting charge only from the **Trip Detail Page**.
+3. Users with the required permissions can edit the halting charge directly from this page.
+
+![](/files/tdIhuI6.png)
+
+### **Role-Based Permissions**
+
+Only the following roles can update the halting charge amount **higher** than the displayed amount:
+
+1. **Admin**
+2. **Super Admin**
+3. **Accounts Admin**
+4. **Customer Admin**
+
+Other roles can only update the amount **lower than or equal** to the displayed amount.
+
+### **All Trips Tab**
+
+A new column named **"Halting Charge Amount"** has been added to the **All Trips Tab**. This column displays the halting charge amount for each trip.
+
+### **Excel Downloads**
+
+The **Halting Charge Amount** column has been added to both types of Excel downloads:
+
+1. **Based on Trips**
+2. **Based on LR (Lorry Receipt)**