diff --git a/modules/privatesales/AdminPrivateSalesSales.php b/modules/privatesales/AdminPrivateSalesSales.php index 441e4d03..adbaa116 100755 --- a/modules/privatesales/AdminPrivateSalesSales.php +++ b/modules/privatesales/AdminPrivateSalesSales.php @@ -570,6 +570,11 @@ class AdminPrivateSalesSales extends AdminTab { 'value' => 9, 'selected' => ($this->cursale!==NULL && $this->cursale->delivery_delay== 9?true:false) ), + array( + 'label' => $this->l('Livraison 72h Noel'), + 'value' => 10, + 'selected' => ($this->cursale!==NULL && $this->cursale->delivery_delay== 10?true:false) + ), ); // Delivery delay $input = array( diff --git a/modules/privatesales_delay/saledelay.php b/modules/privatesales_delay/saledelay.php index e00d291d..74aa716c 100755 --- a/modules/privatesales_delay/saledelay.php +++ b/modules/privatesales_delay/saledelay.php @@ -161,6 +161,9 @@ if (!class_exists('SaleDelay')) { case '8': return '48h Noël'; break; + case '10': + return '72h Noël'; + break; case '9': return 'Spé'; break; @@ -197,6 +200,9 @@ if (!class_exists('SaleDelay')) { case '8': return '48h Noël'; break; + case '10': + return '72h Noël'; + break; default: return 'Unknown'; break; @@ -235,6 +241,9 @@ if (!class_exists('SaleDelay')) { case '8': return 'sous 48h'; break; + case '10': + return 'sous 72h'; + break; case '9': return 'spécifique'; break; @@ -271,6 +280,9 @@ if (!class_exists('SaleDelay')) { case '8': return 'de 48h'; break; + case '10': + return 'de 72h'; + break; default: return 'de un poco días'; break; diff --git a/themes/site/delay.tpl b/themes/site/delay.tpl index 51aaeb3c..345f559e 100644 --- a/themes/site/delay.tpl +++ b/themes/site/delay.tpl @@ -26,4 +26,8 @@
72h
+{elseif $delivery_delay == 10} +
+ 72h +
{/if}