瀏覽代碼

Add "Delivery Charge" product type

Alan Lam 3 年之前
父節點
當前提交
2909769914
共有 1 個文件被更改,包括 2 次插入 和 0 次删除
  1. 2 0
      engine/Product.php

+ 2 - 0
engine/Product.php

@@ -33,6 +33,7 @@ class Product extends Model implements \JsonSerializable {
 	public const TYPE_MACHINE = 1;
 	public const TYPE_SPARE_PART = 2;
 	public const TYPE_CONSUMABLE = 3;
+	public const TYPE_DELIVERY_CHARGE = 4;
 
 	// Static methods
 
@@ -41,6 +42,7 @@ class Product extends Model implements \JsonSerializable {
 			self::TYPE_MACHINE => __("Machine"),
 			self::TYPE_SPARE_PART => __("Spare Part"),
 			self::TYPE_CONSUMABLE => __("Consumable"),
+			self::TYPE_DELIVERY_CHARGE => __("Delivery Charge"),
 		];
 	}