Create Invoice
1. If invoice type is 'Attendance', then show attendance month and attendance year drop-downs for required selection.
2. Invoice will be generated based on total attendance duties on the selected client location in the selected month.
3. Invoice Particular, duties, rate, total amount will be automatically pre-populated as 'Security Guards from the period 01/10/2018 to 31/10/2018' based on selected month/year.
4. Duties = sum of all duties for all employees for that selected client location in selected month & year.
5. Rate = (Client's basic rate/X days) >> X will be number of calendar days in selected month & year (30/31/28/29) 6. If invoice type is 'Fixed Cost', then hide attendance month and attendance year drop-downs. User will manually enter invoice line items in this case.