You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

52 lines
1.4 KiB

<?php
use yii\helpers\Html;
use kartik\tabs\TabsX;
/* @var $this yii\web\View */
/* @var $model backend\modules\shop\models\ars\Delivery */
/* @var $logistics */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Deliveries', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
Yii::$app->params['bsVersion'] = '4.x';
\yii\web\YiiAsset::register($this);
?>
<div class="delivery-view">
<p>
<?= Html::a('返回列表', ['index'], ['class' => 'btn btn-success']) ?>
</p>
<?php
echo TabsX::widget([
'bordered' => true,
'items' => [
[
'label' => '<i class="fas fa-user"></i> 发货信息',
'content' => $this->render('info', [
'model' => $model,
]),
],
[
'label' => '<i class="fas fa-shopping-cart "></i> 物流信息',
'content' => $this->render('logistics', [
'model' => $model,
'logistics' => $logistics
]),
],
[
'label' => '<i class="fas fa-shopping-cart "></i> 发货商品信息',
'content' => $this->render('delivery_goods', [
'model' => $model,
]),
],
],
'position' => TabsX::POS_ABOVE,
'encodeLabels' => false
]);
?>
</div>