/var/www/vhosts/nabawater/frontend/views/checkout
Edit: /var/www/vhosts/nabawater/frontend/views/checkout/_mini_cart.php (5945B)
alias('T')
->select(['T.*', 'TL.tax_name'])
->leftJoin(['TL' => TaxLang::tableName()],'T.tax_id = TL.tax_id')
->where(['T.status' => Tax::ACTIVE])
->all();
$taxAmount = 0;
// $isSelectedRestaurant = true;
// $choosenRestaurant = (!empty($_GET) && $_GET['id'] != '') ? $_GET['id'] : '';
// if ($cart_product != '' && $choosenRestaurant != '') {
// $isSelectedRestaurant = array_key_exists($choosenRestaurant, $cart_product);
// }
// if (!$isSelectedRestaurant) {
// $item_count = 0;
// }
?>
= Yii::t('frontend','Cart') ?>
=$item_count;?> = Yii::t('frontend','ITEMS') ?>
$cart) {
$branch_url = 'cart?id='. $key;
foreach ($cart as $ik => $citem) {
$icDetail = Item::getItemDetail($citem['item_key']);
$iiPrice = isset($icDetail['item_price'])? $icDetail['item_price']: 0;
$item_price = $citem['quantity'] * $iiPrice;
$sTotal += $item_price;
?>
= $icDetail['item_name'] ?>
This Item Not Avilable
Available Qty is = $icDetail['quantity'] ?>
|
= Com::moneyFormat($citem['quantity'] * $iiPrice, true)?>
|
$pay) { ?>
|
= $pay['name'] ?>
|
= Com::moneyFormat($pay['value'], true) ?>
|