88bda14002
Fix: Typo
2023-03-24 08:48:33 +05:30
1297a4e7d2
Cancel VoucherType was added
2023-03-24 08:45:52 +05:30
e56a753053
Fix: Users without ability of edit printed products where not able to set quantity to zero in the bill
2023-03-19 14:43:40 +05:30
4e4cebf5d4
Chore: Moved the formatting to the main style sheet because it was used everywhere.
...
Also, moved to sass to get theme colors from the material design library
2023-03-18 23:29:10 +05:30
1a08066c2d
Feature: Cancelled bills are now separate from void bills.
...
Void bills are automatically generated when printed bills are changed.
Manually cancelled bills are called cancelled bills.
2023-03-17 08:27:30 +05:30
da46591313
Fix: Happy hour product button color was being overwritten by the face color
2023-03-14 13:27:05 +05:30
efa2af396d
Chore: Moved from css to sass, god knows what to do now.
...
Chore: Prettier line length changed to 120 from 100
Fix: Hard coded the face as the primary color to make the buttons stand out
2023-03-13 23:52:44 +05:30
245937ecf2
Fix: The dialogs were not rendering properly.
...
The select table dialog was long and narrow.
The billtype was selection was also not showing properly.
2023-03-13 21:22:07 +05:30
516b22ed1c
Refactored customer discount and choose discount. They were using the same schema unnecessarily which was leading to confusion.
2023-03-06 21:04:44 +05:30
c5eaeb1497
Fix: Receive payment did not show display reason
2023-03-06 10:35:17 +05:30
e46fe7f90e
Feature: Tax Regimes are added so that different bills with different series can be printed for Different regimes such as VAT and GST
...
Chore: Model relationships updated to make them simpler
Chore: Bill printing majorly refactored for it
Due to the sheer depth of the changes. There can be showstoppers. Please test it carefully
2023-03-05 23:50:41 +05:30
5c7985e392
Chore:
...
Moved to sqlalchemy 2.0
Added type checking as much as possible
Updated angular to 15
Moved from Angular flex layout to tailwind css
Started developing on vscode with devcontainers
2023-02-20 18:49:17 +05:30
792ccf923f
Chore:
...
Upgraded to Angular 14
2022-07-06 09:04:10 +05:30
d43aab0b23
Chore: Updated linter changed this.
2022-04-03 07:26:40 +05:30
a174f6b847
Fix: Product sale report would mix different product versions as it was checking the product id and not version id
...
Feature: Cannot add na product to bill
2021-12-29 07:49:23 +05:30
debe0df7b7
Chore: Fix import of Observable to be from rxjs and not rxjs/internal. It was maybe causing optimization bailouts
2021-09-20 09:30:00 +05:30
6379e5f4e3
Choose / Edit / Create customers during billing.
2021-09-19 22:42:27 +05:30
5cd0acc7a9
Feature: Added Happy Hour Discount in the bill display and changed Net amount to Gross Amount.
...
Changed the color of running / printed tables to a brighter colors.
2021-07-05 08:38:26 +05:30
8c5d941850
Fix: Kots with product quantity = 0 were allowed. So blank kots could be added.
2021-07-04 08:32:55 +05:30
5ece52ad55
Added option to view Voided bills
2021-07-02 09:05:37 +05:30
17702a433b
Fix: Bill Deactivate guard was running when printing kots / bills when items were added to new kot.
2021-07-02 09:05:07 +05:30
0d41c0e345
Feature: Exit guard if bill is dirty is sales to prevent accidentally backing out of a bill with data.
2021-06-29 08:58:07 +05:30
db5f2731be
Feature: Added a column called print in bill to the table customer.
...
This will prevent printing all customer's names and phone numbers in the bill in case of simple walkins.
This is a breaking change as there is schema changes in the database.
It also bolds the customers who are to be printed in the bill in the running tables list.
2021-06-28 08:41:32 +05:30
e0ef5e7b64
Fix: Rounding error prevented some bills from getting settled. This is related to the half even rounding in python.
2021-06-26 08:45:24 +05:30
12a361aff1
Fix: Could not print bill if discount permission not allowed
2021-06-13 17:54:04 +05:30
4e827c2bd0
Feature: Added ability to change / choose pax once the table is running.
2021-04-09 09:33:53 +05:30
07d13898c3
Fix: Dates in old imported data should be at UTC time.
...
Fix: Use utc now for dates to have consistent dates across timezones.
2021-04-06 08:50:37 +05:30
73850560aa
Customer discount with prefill discount in sales.
2021-04-02 14:34:07 +05:30
97579ea9d3
Dates and times should now be handled properly once the server is set on UTC time and the proper timezone offset environment variable is set.
2021-04-02 06:58:38 +05:30
47381527c2
Feature: Added feature to click a name in receive payment to fill in the amount in that column
2021-03-26 07:20:51 +05:30
669821a643
Using Half-Round-Even rounding in the bill amounts as this is what python round uses.
...
When the bill amounts were Odd number + .5, payment could not be received as javascript rounded it up, but python rounded it down.
We are now using the python rounding (Half Round Even / Banker's Rounding) in the bill service.
2021-03-20 08:05:50 +05:30
41d4ef1200
Added feature: Split bill by Sales Category if no item is selected.
2020-12-25 11:47:03 +05:30
161896154d
Feature: Open bill using bill number
2020-12-24 12:58:46 +05:30
98c75f66c9
Fix: Cancel bill printing if discount dialog is cancelled.
2020-12-24 09:26:34 +05:30
7b327b4fda
Feature: Discount will only update the sale types which have been updated in the form.
2020-12-24 09:26:05 +05:30
565cffaef1
Fix: Kot move fixed. Kot id was missing on move. Also, voucher_type KOT as truthy not and would give bill not found error.
2020-12-24 09:10:55 +05:30
8bb6235e67
Fix: Receive Payment
...
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.
2020-12-19 09:09:10 +05:30
b70b01b726
Back to table / product group order changed to have the back button in the beginning
...
The bill now highlights the happy hour products.
2020-12-18 13:24:50 +05:30
f28cf1eea0
Split bill working along with all checks.
...
Update bill ensures that the total number of happy hour punches of a product in a bill are less than or equal to the regular punches
2020-12-18 13:24:05 +05:30
6c83c74424
Chore: In overlord / sale / bill.service now the BillViewItem is just a view item
...
The data is kept as the original bill object and this view generated on every change. It has no sanctity.
To deal with the challenges of Selection of items in the bill.component.html created a bill selection item.
This is converted to string while checking else the selection model fails.
Feature: It now checks if Happy Hour items have equivalent regular items in each kot.
Feature: Discount won't apply to happy hour items.
Checks for both are both in front end and back end.
2020-12-16 22:34:41 +05:30
e4500f0d46
Breaking: Discount is applicable on sale category and not on menu category
...
Fix the import, etc on this.
While entering discount in sale, it checks the max allowed.
2020-12-16 11:49:22 +05:30
27aa4d12a6
Settle Options are now stored in the Database and can be updated
2020-12-13 09:45:24 +05:30
d65379a068
Chore: ng lint using the recommended @angular-eslint style
2020-12-08 18:50:46 +05:30
b583b90756
Fully working with the rule no explicit any
2020-11-25 09:27:42 +05:30
f7b4b29d3a
Fix: Bill Type was not being shown properly
2020-11-22 23:20:43 +05:30
6567f560ab
Updated to angular 11
...
Now compiling with strict mode in typescript
Need to error checking now
2020-11-22 10:13:37 +05:30
163b40e9e5
Simplified some permissions
...
Renamed Accounts Audit to Audit
Renamed Machines to Devices as it made sense
Sections and Tables are now under Sections Permission
Guest Book is now under Customers Permission
Renamed Beer Consumption Report to Beer Sale Report
Fix: Move Kot and Table to check what the final effect is
2020-11-15 12:26:24 +05:30
b7f382cac8
Bill change should be working
...
Reduce quantity should be working.
2020-10-11 20:53:43 +05:30
73f83f1aa7
Show proper error messages on Save Bill / Save Kot
2020-10-11 11:59:37 +05:30
9ecf0b5cc9
Display frontend / backend version at the homescreen
2020-10-11 11:13:06 +05:30