Point of Sale -> Return Order:
- “Grade of Damage” button:
- was added for the line item;
- after clicking on the button -> “Grade of Damage” pop-up is opened;
- “Grade of damage” pop-up:
- contains:
- Damaged Units:
- Damaged Units = QTY;
- Datagrid with columns:
- Qty:
- if Damage type is filled -> is required;
- only numbers are allowed;
- sum of qty in the column is equal or less than Damaged Units;
- if sum of qty is more than Damaged Units -> the validation “Qty should not be greater than Damaged Units” is displayed;
- “Damage Type” dropdown:
- contains list of grade of gamage from the dictionary;
- if Qty is filled -> is required;
- Delete:
- after clicking on the button -> the selected row is deleted;
- Qty:
- “Cancel” button:
- after clicking on the button -> the pop-up is closed without any action;
- “Apply” button:
- after clicking on the button:
- the pop-up is closed;
- the grade of damage is added to the item -> to Item Note in format:
- <qty> – <grade of damage>;
- <qty> – <grade of damage>;
- after clicking on the button:
- Damaged Units:
- contains:
- “Refund” button:
- after clicking on the button:
- the Customer credit will be created (logic not change);
- the selected grade of damage is added to the line item -> to Customer credit.
- after clicking on the button: