调整订单详情页
parent
bc7989f9ef
commit
0903b091a2
|
|
@ -18,7 +18,7 @@ class OrderConsigneeInfo extends AbstractTool
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $style = 'btn-success';
|
||||
protected $style = 'btn-warning';
|
||||
|
||||
public function render()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class OrderReduce extends AbstractTool
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $style = 'btn-success';
|
||||
protected $style = 'btn-warning';
|
||||
|
||||
public function render()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -158,17 +158,20 @@ class OrderController extends AdminController
|
|||
})->prepend('¥');
|
||||
$show->field('vip_discount_amount')->as(function ($v) {
|
||||
return bcdiv($v, 100, 2);
|
||||
})->prepend('¥');
|
||||
$show->field('userCoupon.coupon_name')->label();
|
||||
$show->field('coupon_discount_amount')->as(function ($v) {
|
||||
return bcdiv($v, 100, 2);
|
||||
})->prepend('¥');
|
||||
})->prepend('- ¥');
|
||||
if ($show->model()->user_coupon_id) {
|
||||
$show->field('userCoupon.coupon_name')->label();
|
||||
$show->field('coupon_discount_amount')->as(function ($v) {
|
||||
return bcdiv($v, 100, 2);
|
||||
})->prepend('- ¥');
|
||||
}
|
||||
|
||||
$show->field('reduced_amount')->as(function ($v) {
|
||||
return bcdiv($v, 100, 2);
|
||||
})->prepend('¥');
|
||||
})->prepend('- ¥');
|
||||
$show->field('shipping_fee')->as(function ($v) {
|
||||
return bcdiv($v, 100, 2);
|
||||
})->prepend('¥');
|
||||
})->prepend('+ ¥');
|
||||
$show->divider();
|
||||
$show->field('note');
|
||||
$show->field('remark');
|
||||
|
|
|
|||
Loading…
Reference in New Issue