<?php
use yii\bootstrap\Html;
use kartik\widgets\ActiveForm;
?>
<h1><?php  echo Yii::t('frontend/product','Customer cart')?></h1>
<div class="row">
	<div class='col-md-12 '>
		<div class="customer-cart">
			<table class="table table-bordered table-striped">
				<thead>
					<tr>
						<th>
							<?php echo Yii::t('frontend/product', 'Product name')?>
						</th>
						<th>
							<?php echo Yii::t('frontend/product', 'Count')?>
						</th>
						<th>
							<?php echo Yii::t('frontend/product', 'Currency')?>
						</th>
						<th>
							<?php echo Yii::t('frontend/product', 'Item Price')?>
						</th>
						<th>
							<?php echo Yii::t('frontend/product', 'Total Price')?>
						</th>
					</tr>
				</thead>
				<tbody>
				</tbody>
			</table>
		</div>
	</div>
</div>
<div class="row">
		<div class='col-md-3 '>
		<?php echo Html::a(Yii::t('frontend/product', "Paid"),"javascript: $('#frm_customer_cart').submit()",[ 'id' => 'btn_pay_customer_cart', 'class' => 'btn btn-primary btn-block' , 'name' => 'payout_customer_cart']) ?>
	</div>
	<div class='col-md-3 '>
		<?php echo Html::a(Yii::t('frontend/product', "Frissít"),null,[  'class' => 'btn btn-primary btn-block' , 'onclick' => 'location.reload();']) ?>
	</div>
	<div class='col-md-3 '>
		<?php echo Html::a("Kosár részletei",['transfer/customer-cart' ,'id_card' => $model->customer->card->id_card],[  'class' => 'btn btn-primary btn-block' , 'onclick' => 'location.reload();']) ?>
	</div>
</div>