Explorar o código

Add "Delivery Charge" product type

Alan Lam %!s(int64=3) %!d(string=hai) anos
pai
achega
2909769914
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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_MACHINE = 1;
 	public const TYPE_SPARE_PART = 2;
 	public const TYPE_SPARE_PART = 2;
 	public const TYPE_CONSUMABLE = 3;
 	public const TYPE_CONSUMABLE = 3;
+	public const TYPE_DELIVERY_CHARGE = 4;
 
 
 	// Static methods
 	// Static methods
 
 
@@ -41,6 +42,7 @@ class Product extends Model implements \JsonSerializable {
 			self::TYPE_MACHINE => __("Machine"),
 			self::TYPE_MACHINE => __("Machine"),
 			self::TYPE_SPARE_PART => __("Spare Part"),
 			self::TYPE_SPARE_PART => __("Spare Part"),
 			self::TYPE_CONSUMABLE => __("Consumable"),
 			self::TYPE_CONSUMABLE => __("Consumable"),
+			self::TYPE_DELIVERY_CHARGE => __("Delivery Charge"),
 		];
 		];
 	}
 	}