Commit Graph

32 Commits

Author SHA1 Message Date
tanshu
20eac3c216 Refactor: Instead of a concept of Price/FullPrice, happy hour is now a checkbox in the product.
This needed major refactor in all parts dealing with product or inventory.
2016-04-11 12:31:52 +05:30
tanshu
51d518d2a0 Major refactor of the Sales Form and Bill controller to make code more readable and less error prone.
The functions now only do one thing.
2016-03-31 12:27:39 +05:30
tanshu
bb2db24837 Refactor: Refactored the bill inventory in the hope of making it less
error prone and more understandable.
Refactor: Also upgrade path to moving from Price/FullPrice to HasHappyHour/
          IsHappyHour
Must have a few errors.
2016-03-29 15:06:46 +05:30
tanshu
4ac6f66041 Chore: Added full name property to product
Chore: Removed GetButton Function in ControlFactory.
2016-03-29 12:52:33 +05:30
tanshu
69560cfb07 Chore: Removed Waiter as it was not ever used.
Refactor: Changed the user list form to a normal form.
Feature: Service Charge disabled setting removes it from the Product Form.
2016-01-18 16:13:43 +05:30
tanshu
caf9b3106c Feature: Added Machine Locations so that setting the location in the config file is not needed.
Feature: Settings database table added to store string based settings.
         It is right now used to store bill header and footer.
         Hard Coded header/footer removed from file.
Feature: Tax Analysis form created to easily show the tax calculation.
Feature: Management form uses background workers.  Dont' know if it is functional though.
Chore: Reorder Table form moved to masters from sales folder.
Refactor: ManagementBI and SalesAnalysisBI
2016-01-04 10:52:01 +05:30
tanshu
0456135497 Removed Code and BaseCode from Products
Management form almost fixed. Error testing now.
2014-12-03 12:43:35 +05:30
tanshu
b1a9d2daae Lot of changes. Now table must be explicitly updated and not from inside various functions. This makes for better understanding and lesser mistakes.
Product form now has an IsActive checkbox to show only active products.
2014-11-20 13:42:20 +05:30
tanshu
c52f382ec2 Feature: Added SortOrder to Inventory.
Chore: Settle Choices form greatly simplified.
Feature: Modifiers are now cached.
2014-11-10 16:36:49 +05:30
tanshu
948cd0bf28 Finally Deployed. Don't know the total amount of changes. 2014-11-06 16:09:11 +05:30
tanshu
3ca8b29e04 Regression: BillItemKey added the compare methods back
Regression: PrintLocation added the compare methods back
Breaking: Kot.Code is now integers
Breaking: Kot Update is now via Stored Procedure to get DB Values
Breaking: Reprints Insert is now via Stored Procedure to get DV Values
Breaking: Voucher.BillID and KotID are now integers
Breaking: Voucher Insert/Update is now via Stored Procedures to get DV Values also Dirty Checking for Voucher has been overwritten to set dirty for LastEditDate update
Fix: Login forms simplified
Feature: PrintLocation and Products are cached application wide.
2014-11-02 13:33:31 +05:30
tanshu
da929ad036 Breaking Change: Changed Kot/Voucher Table Name to Guid Foreign key
Breaking Change: Renamed Discontinued to IsActive and added NA field to products.
Cleanup: Removed not used attributes
Change: RoleConstants changed to simple string
Feature: Table Create/Edit/Reorder and Modifier Create/Edit Form
Feature: Bills now show the Tax name from the database and not a hack
2014-10-16 16:41:55 +05:30
tanshu
69617949bd Important! : Need to update to new schema using SQL Scripts
Important! : This version will not work.  It is pre-alpha and saved in case of catastrophic failure
Refactor: Remove dependency on Fluent Nhibernate.
Refactor: All Primary keys are now Guids.
Refactor: Class Mappings changed from AutoMap to Explicit Mappings.
Breakage: All Cascading is now disabled and entities must be explicitly saved/updated/deleted
Breakage: Auto Commiting is now off and "SaveChanges()" needs to be called on all BIs.
Refactor: Changed the pattern where all relevant db code for an operation is basically in the same function.
Chore: Removed Advance and Payments options.
2014-10-12 15:11:45 +05:30
Tanshu
fd54104560 Management form working with the correct CSV file. 2013-02-12 18:55:10 +05:30
Tanshu
843d644154 Added ST Number to bill.
Fixed error were unprinted bill was not removed from table when voided.
2012-12-01 15:19:33 +05:30
unknown
2d1030abf6 Scripts to transition database to new version.
Changed inventory and product entities to split Vat and Service Tax and IsScTaxable.
Added MessageBox on startup to inform about Debug Mode.
Updated ProductForm for the change.
Work still needs to be done on Thermal Printing where the hack for VAT on Food and VAT on Liqour is still there.
Now No Service Tax on Delivery Works as promised.
2012-04-08 17:58:15 +05:30
unknown
964d0a78bf Added Basecode to Product
Added Voucher Type During Printing
Added Discount Report
Fixed Void bill table not getting cleared error
Added PAX to table
Removed Itital Setup button in MainForm as it was not doing anything
2011-12-05 15:11:02 +05:30
unknown
719dbd49d2 Added FullPrice column to display Happy Hour Pricing.
Added Void or Reprint Report.
Changed Product.SalePrice -> Price
Changed Inventory.Rate -> Price
2011-08-28 17:47:15 +05:30
unknown
831ec37cda Reprint and Printed bill editing logged.
Printed bill can no longer be changed, any changes voids the bill and prints a new one.
Added option to Split Bill.
Kot printed with right time.
Numerous bug fixes.
2011-08-23 12:40:05 +05:30
unknown
59909a5ee7 Updated NH, Code Refactoring, made all DB transactions atomic.
Must use the Repositories with Using or else bad things will happen.
2011-06-30 01:57:07 +05:30
unknown
d8ecec8bb6 Added inverse Attribute to ProductGroup.
BillInventory Renamed.
Refactored Bill to be more usable.
Added Bill Detail Report.
Added Open Bill and Bill Details Roles.
Zero Rate Products have Yellow background Color.
Refactored UserBI, FoodTableBI, ModifierBI, PrintLocationBI, ProductBI, ProductGroupBI, TaxBI, UserBI,
Cached the Products List.
Product and Product Group Form Working.
2011-06-23 18:17:48 +05:30
unknown
aea41a9d24 Multiple settlement options. Upgrade SQL Script included. 2011-03-12 00:19:48 +05:30
unknown
9ed5843dbd Breaking Changes. Upgrade Script in Sql directory. Deployed 2011-02-18 22:24:48 +05:30
unknown
d4cfa92848 User management fixed. Reports working now. Deployed 2011-02-09 17:33:22 +05:30
unknown
1400f42989 Misc. forgot all changes
Working on Cashier Checkout
2011-02-05 01:00:55 +05:30
unknown
0f323f8fab Moved numpad control to Tanshu.Common. Billing feature complete. Delete not working as expected
Signed-off-by: unknown <tanshu@.(none)>
2011-02-01 02:03:22 +05:30
unknown
eb48c3754a Moved to fluent. Added support for Modifiers. Fixtures to load intial test data 2011-01-30 12:44:05 +05:30
unknown
98e1e1df30 Item Modifier added 2011-01-22 18:08:30 +05:30
unknown
3ea5fc75ab Fully Working build with Different print locations and table loading. Pending: Bill Settlement, Modifiers, etc. 2011-01-17 20:25:43 +05:30
unknown
76cd512ebc Table load complete. Printer stub removed for actual code. 2011-01-14 01:51:02 +05:30
unknown
853fad0692 Partly working 2011-01-10 05:06:24 +05:30
unknown
232a62f8ca Initial Commit 2010-03-02 23:26:21 +05:30