Skip to content

Commit

Permalink
+ Amount due
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Dec 4, 2015
1 parent 3d98ad5 commit 112713c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 3 additions & 2 deletions src/messages/ru/cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@
'Price' => 'Цена',
'Quantity' => 'Количество',
'Description' => 'Описание',
'Subtotal' => 'Итого',
'Subtotal' => 'Промежуточный итог',
'Discount' => 'Скидка',
'Total' => 'К оплате',
'Total' => 'Итого',
'Amount due' => 'К оплате',
'Make order' => 'Сделать заказ',
'Item has been added to cart' => 'Товар добавлен в корзину',
'Item is in the cart already' => 'Товар уже в корзине',
Expand Down
9 changes: 4 additions & 5 deletions src/views/cart/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
<div class="row">
<div class="col-xs-12">
<h2 class="page-header">
<?= Yii::t('cart', 'Your cart') ?>
<i class="fa fa-shopping-cart"></i> &nbsp;
<?= Yii::t('cart', 'Your order') ?>: &nbsp; <?= $cart->count ?> <?= Yii::t('cart', 'postitions') ?>
<small class="pull-right"><?= Yii::t('cart', 'Date') ?>: <?= date('Y-m-d') ?></small>
</h2>
</div>
<!-- /.col -->
</div>

<!-- Table row -->
<div class="row">
<div class="col-xs-12 table-responsive">
<?= GridView::widget([
'dataProvider' => $dataProvider,
'layout' => "{items}\n{pager}",
'layout' => "{items}",
'columns' => [
[
'attribute' => 'no',
Expand Down Expand Up @@ -73,9 +73,7 @@
],
]); ?>
</div>
<!-- /.col -->
</div>
<!-- /.row -->

<div class="row">
<!-- accepted payments column -->
Expand All @@ -84,6 +82,7 @@
</div>
<!-- /.col -->
<div class="col-xs-6">
<p class="lead"><?= Yii::t('cart', 'Amount due') ?>:</p>
<div class="table-responsive">
<table class="table">
<tbody>
Expand Down

0 comments on commit 112713c

Please sign in to comment.