<?php /* @var $this PayoutsController */ use YandexMoney\PayoutAPI; /* @var $model PayoutTask */ ?> <?php $this->menu = array(array('icon' => 'glyphicon glyphicon-tasks', 'label' => 'Список задач', 'url' => array('admin')), array('icon' => 'glyphicon glyphicon-plus-sign', 'label' => 'Создать задачу', 'url' => array('create')), array('icon' => 'glyphicon glyphicon-minus-sign', 'label' => 'Удалить задачу', 'url' => array('delete', 'id' => $model->id), 'onclick' => "return confirm('Вы уверены, что хотите удалить услугу?');")); $attributes = array(array("name" => 'type', 'value' => PayoutTaskHelper::getAvailableTypeLabel($model->type)), array("name" => 'status', 'value' => $model->getAttributeLabel($model->status)), 'agentId', 'fileName', 'contract', array("name" => 'createdAt', 'value' => date('d.m.Y H:i:s', strtotime($model->createdAt))), array("name" => 'modifiedAt', 'value' => date('d.m.Y H:i:s', strtotime($model->modifiedAt)))); ?> <h1>Задача №<?php echo $model->id; ?> </h1> <?php $this->widget('zii.widgets.CDetailView', array('htmlOptions' => array('class' => 'table table-striped table-condensed ta ble-hover'), 'data' => $model, 'attributes' => $attributes)); ?> <?php if (count($model->payoutDepositions) > 0) { ?> <h3>Список выплат</h3> <table class="table table-bordered"> <tr> <th>Номер транзакции</th>