Fix: Also prevent creation of customer with blank phone number when adding a guest book.
Feature: Show the old bill of a customer in guest book
Fix: In reprint, allow changing of customer
Chore: Updated dependencies
Since the amount Behaviour Subject pipe was not being subscribed to
and the original Behaviour Subject as being subscribed,
amountVal was not being populated. Now it will be.
This was creating problem where amount in receive payment was always 0
Added a check in the backend so that if any part of bill remains unsettled, it will give an error instead of silently accepting and removing the entry.
Change (Reprint bill)
Chore:
Refactored save voucher so that the save function can be reused in change voucher route
Fix:
Show voucher sent modifiers in a wrong format
Inventory schema used rate instead of price
Guest Book
Save bill
Update bill
Show bill
Fix:
Tax details was sending the rate multiplied by 100 but not dividing it on save/update
Feature:
Updated the auth service to check local storage for the latest user token
Auth guard and auth service simplified and fixed so that user is updated upon login
Home component changed to use square buttons
Fixed showing the totals in the bill
ng linted the project