wip
This commit is contained in:
parent
f6e02c9990
commit
ba67262e9e
|
|
@ -52,7 +52,7 @@ class RmaController extends Controller
|
||||||
$data = [
|
$data = [
|
||||||
'orderProduct' => OrderProductRepo::find($orderProductId),
|
'orderProduct' => OrderProductRepo::find($orderProductId),
|
||||||
'statuses' => RmaRepo::getStatuses(),
|
'statuses' => RmaRepo::getStatuses(),
|
||||||
'reasons' => RmaReasonRepo::list(),
|
'reasons' => RmaReasonRepo::list()->toArray(),
|
||||||
'types' => RmaRepo::getTypes(),
|
'types' => RmaRepo::getTypes(),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,11 +70,13 @@
|
||||||
<option value="1">是</option>
|
<option value="1">是</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-6 mb-4">
|
<div class="col-sm-6 mb-4">
|
||||||
<label class="form-label">退换原因</label>
|
<label class="form-label">退换原因</label>
|
||||||
<select class="form-select" name="opened">
|
<select class="form-select" name="opened">
|
||||||
<option selected value="0">否</option>
|
@foreach ($reasons as $item)
|
||||||
<option value="1">是</option>
|
<option value="{{ $item['id'] }}" {{ $item['id'] == old('opened', '') ? 'selected': '' }}>{{ $item['name'] }}</option>
|
||||||
|
@endforeach
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue