forms->get_objects(); $currencies = $netshop->get_setting('CurrencyDetails'); $default_currency = (int)$netshop->get_setting('DefaultCurrencyID'); $currency_short_name = $currencies[$default_currency]['NameShort']; $delivery_methods = $netshop->delivery->get_all_methods(); $order_filter_form_visibility = nc_core()->get_settings('OrderFilterForm', 'netshop'); $order_filter_form_visibility = $order_filter_form_visibility ? 1 : 0; ?>
Фильтр заказов
Отображать
set_catalogue_id($catalogue); ?> load_order($f_RowID); $payment_method = $order['PaymentMethod'] ? new nc_netshop_payment_method($order['PaymentMethod']) : null; $button_class = $f_Status_id == 2 || $f_Status_id == 5 ? "tpl-button-primary tpl-button-normal" : "tpl-button-secondary tpl-button-normal"; $inplace_payment = false; if ($f_Status_id == 3 || $f_Status_id == 4 || $f_Status_id == 5) { $status_paid_text = "Оплачен"; } elseif (($f_Status_id == null || $f_Status_id == 1 || $f_Status_id == 6) && ($payment_method["payment_on_delivery_cash"] == "1" || $payment_method["payment_on_delivery_card"] == "1") ) { $status_paid_text = "Оплата при получении"; } elseif ($f_Status_id == 2) { $status_paid_text = "Не оплачен"; } elseif ($payment_method["payment_on_delivery_cash"] == "0" || $payment_method["payment_on_delivery_card"] == "0" ) { $inplace_payment = true; $status_paid_text = "Не оплачен"; } else { $status_paid_text = ""; } ?>
Заказ № от
format_price($order->get_totals()) ?>
get_items()->to_array(), function ($item) { return $item["Name"] !== null; }); $items_count = count($items); $i = 0; ?>
Дата Номер заказа Покупатель Контакты Содержание Сумма Способ доставки Статус
.. ', array($f_Email, $f_Phone)); ?> get_items() as $item): ?> -
"", 'suffix' => "", 'active' => "%PAGE", 'unactive' => "%PAGE", 'divider' => " | ", )) ?>