parent
0d8fd327b5
commit
e863b1c97b
|
|
@ -35,7 +35,7 @@ class RmaDetail extends JsonResource
|
|||
'product_name' => $this->product_name,
|
||||
'name' => $this->name,
|
||||
'sku' => $this->sku,
|
||||
'reason' => $this->reason->name ?? '',
|
||||
'reason' => $this->reason->name ? (json_decode($this->reason->name, true)[locale()] ?? '') : '',
|
||||
'type_text' => $this->type_text,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('admin/rma.reasons_return') }}:</td>
|
||||
<td>{{ $rma['quantity'] }}</td>
|
||||
<td>{{ $rma['reason'] }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Reference in New Issue