个人中心售后申请详情页状态显示问题

This commit is contained in:
TL 2023-01-13 16:15:53 +08:00 committed by Edward Yang
parent e41d366f60
commit f3de1b098a
1 changed files with 2 additions and 0 deletions

View File

@ -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),