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.
25 lines
610 B
25 lines
610 B
<?php
|
|
|
|
use yii\widgets\DetailView;
|
|
use backend\modules\shop\models\ars\DeliveryGoods;
|
|
?>
|
|
|
|
<?php
|
|
$deliveryGoods = DeliveryGoods::findAll(['delivery_id' => $model->id]);
|
|
if ($deliveryGoods) {
|
|
echo '<table>';
|
|
foreach ($deliveryGoods as $value) {
|
|
echo
|
|
'<tr>' .
|
|
'<td>商品名称:</td>' .
|
|
'<td>' . $value->goods_name . '</td>' .
|
|
'</tr>' .
|
|
'<tr>' .
|
|
'<td>商品数量:</td>' .
|
|
'<td>' . $value->goods_count . '</td>' .
|
|
'</tr>';
|
|
|
|
}
|
|
echo '</table>';
|
|
}
|
|
?>
|