<?
CModule::IncludeModule('iblock');
?>
<? if ($arResult['ITEMS']['AnDelCanBuy']): ?>
<div class="page-basket">
<table style="width: 100%">
<tr>
<th>Наименование</th>
<th width="150">Ед.изм.</th>
<th width="155">Цена, руб.</th>
<th width="95">Ваш заказ</th>
<th ></th>
</tr>
<? foreach ($arResult['ITEMS']['AnDelCanBuy'] as $item): ?>
<tr>
<td><?=$item['NAME']?></td>
<td><?=$item['MEASURE_TEXT']?></td>
<td><?=$item['SUM']?></td>
<td>
<div>
<div class="minus" data-operand="minus">-</div>
<div class="count"><input type="text" value="<?=$item['QUANTITY']?>" data-id="<?=$item['ID']?>" /></div>
<div class="plus" data-operand="plus">+</div>
</div>
</td>
<td>
<button class="to_basket" data-basket-remove="<?=$item['ID']?>">Удалить</button>
</td>
</tr>
<? endforeach ?>
</table>
<div class="basket_total">
Общая стоимость <span><?=$arResult['allSum_FORMATED']?></span>
</div>
</div>
<a href="/personal/order/">
<div class="make_order btn">Оформить заказ</div>
</a>
<a data-update-basket>
<div class="make_order btn2 btn-second" style="margin-right: 10px">Пересчитать корзину</div>
</a>
<? else: ?>
<p>Ваша корзина пуста</p>
<? endif ?>
* executing "cd /home/app/production/releases/20171019065152 && bundle install --gemfile /home/app/production/releases/20171019065152/Gemfile --path /home/app/production/shared/bundle --deployment --quiet --without development test"
servers: ["77.244.215.99"]
[77.244.215.99] executing command
** [out :: 77.244.215.99] You are trying to install in deployment mode after changing
** [out :: 77.244.215.99]
** [out :: 77.244.215.99] your Gemfile. Run `bundle install` elsewhere and add the
** [out :: 77.244.215.99]
** [out :: 77.244.215.99] updated Gemfile.lock to version control.
** [out :: 77.244.215.99]
** [out :: 77.244.215.99] The list of sources changed
** [out :: 77.244.215.99] The dependencies in your gemfile changed
** [out :: 77.244.215.99]
** [out :: 77.244.215.99] You have added to the Gemfile:
** [out :: 77.244.215.99] * source: git@gitlab.com:sqcat/bliblob.git (at edge)
** [out :: 77.244.215.99] * sunspot_mongo
** [out :: 77.244.215.99] * eventmachine (~> 1.0.4)
** [out :: 77.244.215.99]
** [out :: 77.244.215.99] You have deleted from the Gemfile:
** [out :: 77.244.215.99] * source: ssh://git@gitlab.com/sqcat/bliblob.git (at edge@49fce24)
command finished in 1386ms
*** [deploy:update_code] rolling back
* executing "rm -rf /home/app/production/releases/20171019065152; true"
servers: ["77.244.215.99"]
[77.244.215.99] executing command
command finished in 417ms
failed: "rvm_path=$HOME/.rvm $HOME/.rvm/bin/rvm-shell '2.2.1' -c 'cd /home/app/production/releases/20171019065152 && bundle install --gemfile /home/app/production/releases/20171019065152/Gemfile --path /home/app/production/shared/bundle --deployment --quiet --without development test'" on 77.244.215.99