update order status name

This commit is contained in:
Shreesh Arora
2022-12-27 14:55:33 +05:30
parent 41c01c6d54
commit be780220dc
46 changed files with 167 additions and 167 deletions

View File

@@ -74,7 +74,7 @@ class Cheque extends PaymentModule
public function getMailContent($id_order_state, $id_lang)
{
if (Configuration::get('PS_OS_AWAITING') == $id_order_state) {
if (Configuration::get('PS_OS_AWAITING_PAYMENT') == $id_order_state) {
$this->context->smarty->assign(array(
'cheque_name' => Configuration::get('CHEQUE_NAME'),
'cheque_address' => Configuration::get('CHEQUE_ADDRESS'),
@@ -193,7 +193,7 @@ class Cheque extends PaymentModule
if (in_array(
$orderState,
array(
Configuration::get('PS_OS_AWAITING')
Configuration::get('PS_OS_AWAITING_PAYMENT')
)
)) {
$objCart = new Cart($objOrder->id_cart);