Commit Graph

36 Commits

Author SHA1 Message Date
tanshu 5f0f80ed1e Fix: Updated PrintBill where discount is showed on screen before printing bill.
Fix: Updated Product Page so that HappyHour is updated properly
2016-05-12 14:41:02 +05:30
tanshu 57f3f7e08d Fix: OpenBill was not resetting _editVoucherID value before loading bill. 2016-04-13 15:26:02 +05:30
tanshu 7050ff5bd3 Fix: Because of changes in bill loading, there were errors in
reprint/split and other functions where inventories from
     old vouchers was added to new voucher.
2016-04-13 15:08:20 +05:30
tanshu 19353005a5 Fix: Quantity for the kot could not be negative, so no scope of deleting products
Fix: It was asking to confirm cancel even when no new product was added.
2016-04-11 18:57:07 +05:30
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 69cb7d8bce Chore: Rename _billController to _controller as it is shorter
Removed: Unused SelectorEvent Helper
Refactor: Removed references to SaleForm from BillController as it is not needed.
2016-03-31 14:13:26 +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 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 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 e3f92da5ad Fix: Update settlements was broken and would remove the Amount and Roundoff settlements
Chore: SalesAnalysis report refactored
2014-11-11 15:53:54 +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 5a8918ddf5 Major error, table exists check was wrong. Did not allow opening new table. 2012-12-01 16:19:06 +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 0eb5c7d939 Experimental Support for CUPS Printing, not working as of now. 2011-07-12 12:30:48 +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 0cb7d3cf09 Changed Checkout to correctly reflect cash. Minor updates. 2011-04-11 18:25:45 +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 c63bc62304 Moved SaleForm code to Controller, have to put Exception handlers for PermissionException 2011-01-11 01:19:11 +05:30