PHP POS API
We are developing an API for version 16.1. The features for version 1.0 of api are:
- Add,update,delete, read customers
- Add,update,delete,read suppliers
- Add,update,delete,read employees
- Add,update,delete,read items
- Add,update,delete item kits
- read locations
What other use cases would help you? We don't plan to cover all aspects of the system via API but just valid use cases such as adding a customer via web site to POS or updating inventory, or creating an employee
-
We have done hotfix and will be releasing soon. Just change this
diff --git a/application/models/cart/PHPPOSCartItemBase.php b/application/models/cart/PHPPOSCartItemBase.php
index cc2c8dafb..8ad7775e7 100644
--- a/application/models/cart/PHPPOSCartItemBase.php
+++ b/application/models/cart/PHPPOSCartItemBase.php
@@ -12,7 +12,7 @@ abstract class PHPPOSCartItemBase
public $quantity = 1;
public $unit_price;
public $cost_price;
- public $discount;
+ public $discount = 0;
public $description;
Please sign in to leave a comment.
Comments
38 comments