diff --git a/classes/order/OrderSlip.php b/classes/order/OrderSlip.php index 96d8118cc..c02dd2f62 100644 --- a/classes/order/OrderSlip.php +++ b/classes/order/OrderSlip.php @@ -67,9 +67,9 @@ class OrderSlipCore extends ObjectModel 'id_customer' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'id_order' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'conversion_rate' => array('type' => self::TYPE_FLOAT, 'validate' => 'isFloat', 'required' => true), - 'amount' => array('type' => self::TYPE_INT), + 'amount' => array('type' => self::TYPE_FLOAT, 'validate' => 'isFloat'), 'shipping_cost' => array('type' => self::TYPE_INT), - 'shipping_cost_amount' => array('type' => self::TYPE_FLOAT), + 'shipping_cost_amount' => array('type' => self::TYPE_FLOAT, 'validate' => 'isFloat'), 'partial' => array('type' => self::TYPE_INT), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'), 'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'),