mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 23:10:45 +00:00
退款表单
This commit is contained in:
parent
fe305f37b6
commit
04c88ddffa
@ -76,7 +76,7 @@ class StoreOrderRefundServices extends BaseServices
|
||||
}
|
||||
}
|
||||
$f[] = Form::input('order_id', '退款单号', $order->getData('order_id'))->disabled(true);
|
||||
$f[] = Form::number('refund_price', '退款金额', (float)bcsub((string)$order->getData('pay_price'), (string)$order->getData('refund_price'), 2))->precision(2)->required('请输入退款金额');
|
||||
$f[] = Form::number('refund_price', '退款金额', (float)bcsub((string)$order->getData('pay_price'), (string)$order->getData('refund_price'), 2))->min(0)->required('请输入退款金额');
|
||||
return create_form('退款处理', $f, $this->url('/order/refund/' . $id), 'PUT');
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user