Professional Documents
Culture Documents
Export
Export
aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="deleteStudentModalLabel"> تعديل اذن
<صرف/h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<form class="form-horizontal" wire:submit.prevent="update()">
<div class="card-body">
{{-- row 1 --}}
<div class="row">
<div class="col-sm-12 col-md-6 col-lg-4 mt-3 form-
floating">
<input type="date" class="form-control"
wire:model="date" value="{{ date('Y-m-d') }}"
placeholder=" "التاريخname="date" required>
<label for="date" class="col-form-label info">التاريخ
<span
class="text-danger">*</span></label>
</div>
<div class="col-sm-12 col-md-6 col-lg-4 mt-3 form-
floating">
@foreach(\App\Models\
ExportItem::where('total_export_item_id',$this->export_id)->get() as $i=>
$itemStoreEdit)
{{-- {{$itemStoreEdit->total_export_item_id}}--}}
{{($this->newInputs[$i]['item_idd'])}}
<td style="width: 30%;" >
<div class="row m-{{$i}}">
<select class="form-control js-example-
basic-single" wire:model="newInputs.{{$i}}.item_idd" name="item_idd">
@foreach($newItems as $export)
<option value="{{$export->id }}"
@if($export->id == $this->newInputs[$i]['item_idd']) selected @endif>{{$export-
>name}}</option>
@endforeach
</select>
</div>
</td>
<td>
<td>
<div class="d-flex justify-content-center">
<button type="button" class="btn bg-success
hint--right"
wire:click.prevent="newRow()"
aria-label=" "اضف صف جديدid="add">
<i class="fas fa-plus-square"></i>
</button>
@if($i)
<button type="button" class="btn bg-
danger hint--right"
wire:click.prevent="removeRow({{$key}})"
aria-label=""حذف صف جديد
id="add">
<i class="fas fa-trash"></i>
</button>
@endif
</div>
</td>
</tr>
@endforeach
{{-- @endforeach--}}
</tbody>
</table>
@error('inputs.*.amount')<span class="text-danger
alert">{{$message}}</span> @enderror
</div>
<!-- /.card-body -->
<div class="card-footer">
<button type="submit" class="btn bg-success-2 btn-sm mr-3
hint--right" aria-label=">"حفظ
<i class="fa fa-check" aria-hidden="true"></i>
</button>
<button class="btn btn-outline-secondary btn-sm hint--right"
aria-label=""حذف البيانات
type="reset">
<i class="fas fa-undo"></i>
</button>
</div>
<!-- /.card-footer -->
</form>
</div>
</div>
</div>