Usunięcie plików .DS_Store oraz poprawa obsługi kuponów w szczegółach zamówienia
This commit is contained in:
@@ -328,7 +328,7 @@ class Order implements \ArrayAccess
|
||||
global $settings;
|
||||
|
||||
$order = \front\factory\ShopOrder::order_details( $this -> id );
|
||||
$coupon = new \shop\Coupon( $order['coupon_id'] );
|
||||
$coupon = (int)$order['coupon_id'] ? new \shop\Coupon( (int)$order['coupon_id'] ) : null;
|
||||
|
||||
$mail_order = \Tpl::view( 'shop-order/mail-summary', [
|
||||
'settings' => $settings,
|
||||
|
||||
Reference in New Issue
Block a user