个人中心售后申请详情页状态显示问题
This commit is contained in:
parent
e41d366f60
commit
f3de1b098a
|
|
@ -42,6 +42,8 @@ class RmaController extends Controller
|
|||
public function show(int $id)
|
||||
{
|
||||
$rma = RmaRepo::find($id);
|
||||
$statuses = RmaRepo::getStatuses();
|
||||
$rma->status = $statuses[$rma->status];
|
||||
$data = [
|
||||
'rma' => $rma,
|
||||
'orderProduct' => OrderProductRepo::find($rma->order_product_id),
|
||||
|
|
|
|||
Loading…
Reference in New Issue