User Tools

Site Tools


tc-18

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tc-18 [2025/12/15 16:29]
216.73.216.58 old revision restored (2025/08/28 08:46)
tc-18 [2025/12/15 17:24] (current)
216.73.216.58 old revision restored (2025/12/13 10:35)
Line 1: Line 1:
 ====== TRK Dispatch: auto-calc payroll ====== ====== TRK Dispatch: auto-calc payroll ======
 +
 +===== Prepared system =====
 +
 First of all, you need to check and, if necessary, correct the settings. First of all, you need to check and, if necessary, correct the settings.
  
Line 9: Line 12:
  
 **Expectation:** {{:trk_dispatch_auto-calc_payroll_settings.png?direct|}} **Expectation:** {{:trk_dispatch_auto-calc_payroll_settings.png?direct|}}
 +
 +===== test 1. Document without "Gross Pay" and "Driver Pay" sum ===== 
  
 **Action:** You need to create a download in the same way as in [[tc-11|TC11]], but skip filling out the gross pay and driver pay. **Action:** You need to create a download in the same way as in [[tc-11|TC11]], but skip filling out the gross pay and driver pay.
Line 15: Line 20:
  
 **Action:** Change document status to "Dispatched", then to "Empty". **Action:** Change document status to "Dispatched", then to "Empty".
 +
 +The first time you switch the state to Empty, there is no auto-calculation, so after the "empty" state, you need to switch again to "Assigned", then "Dispatched", and then again "Empty".
  
 **Expectation:**  **Expectation:** 
-The message "A payroll record has been created! Do you want to DELETE that record and calculate new one?" should appear!+The message {{:msg_payrol_record_already_exists1.png?direct&300|}} 
 + 
 +**Action:** Make sure the message only appears once. 
 + 
 +**Expectation:** Due to the lack of an amount in the Gross Pay field, the calculation is not possible and a message should be displayed about this. {{:msg_payrol_autocalc_is_imposible.png?direct&300|}} 
 + 
 +===== test 2. Document with "Gross Pay" and no "Driver Pay" amount =====  
 + 
 +**Action:** You need to create a download in the same way as in [[tc-11|TC11]], but skip filling out the driver pay. 
 + 
 +**Expectation:** Completed document with the status "Assigned", but with empty fields "Gross Pay" and "Driver Pay" 
 + 
 +**Action:** Change document status to "Dispatched", then to "Empty"
 + 
 +The first time you switch the state to Empty, there is **no auto-calculation**, so after the "empty" state, you need to switch again to "Assigned", then "Dispatched", and then again "Empty"
 + 
 +**Expectation:**  
 +The message {{:msg_payrol_record_already_exists1.png?direct&300|}} 
 + 
 +**Action:** Make sure the message only appears once.
  
 +**Expectation:** The automatically calculated amount should appear in the "Driver Pay" and "Profit" field.
tc-18.1765808963.txt.gz · Last modified: 2025/12/15 16:29 by 216.73.216.58