[+] Project : default theme added
This commit is contained in:
@@ -173,7 +173,6 @@ class Cheque extends PaymentModule
|
||||
|
||||
$state = $params['objOrder']->getCurrentState();
|
||||
if ($state == Configuration::get('PS_OS_CHEQUE') OR $state == Configuration::get('PS_OS_OUTOFSTOCK'))
|
||||
{
|
||||
$this->context->smarty->assign(array(
|
||||
'total_to_pay' => Tools::displayPrice($params['total_to_pay'], $params['currencyObj'], false),
|
||||
'chequeName' => $this->chequeName,
|
||||
@@ -181,9 +180,6 @@ class Cheque extends PaymentModule
|
||||
'status' => 'ok',
|
||||
'id_order' => $params['objOrder']->id
|
||||
));
|
||||
if (isset($params['objOrder']->reference) && !empty($params['objOrder']->reference))
|
||||
$this->context->smarty->assign('reference', $params['objOrder']->reference);
|
||||
}
|
||||
else
|
||||
$this->context->smarty->assign('status', 'failed');
|
||||
return $this->display(__FILE__, 'payment_return.tpl');
|
||||
|
||||
@@ -31,11 +31,6 @@
|
||||
<br /><br />- {l s='an amount of' mod='cheque'} <span class="price">{$total_to_pay}</span>
|
||||
<br /><br />- {l s='payable to the order of' mod='cheque'} <span class="bold">{if $chequeName}{$chequeName}{else}___________{/if}</span>
|
||||
<br /><br />- {l s='mail to' mod='cheque'} <span class="bold">{if $chequeAddress}{$chequeAddress}{else}___________{/if}</span>
|
||||
{if !isset($reference)}
|
||||
<br /><br />- {l s='Do not forget to insert your order number #' mod='cheque'} <span class="bold">{$id_order}</span>
|
||||
{else}
|
||||
<br /><br />- {l s='Do not forget to insert your order reference' mod='cheque'} <span class="bold">{$reference}</span>
|
||||
{/if}
|
||||
<br /><br />{l s='An e-mail has been sent to you with this information.' mod='cheque'}
|
||||
<br /><br /><span class="bold">{l s='Your order will be sent as soon as we receive your payment.' mod='cheque'}</span>
|
||||
<br /><br />{l s='For any questions or for further information, please contact our' mod='cheque'} <a href="{$link->getPageLink('contact', true)}">{l s='customer support' mod='cheque'}</a>.
|
||||
|
||||
Reference in New Issue
Block a user