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