0% found this document useful (0 votes)
57 views6 pages

New Text Document

The document is an export permission form template that includes: 1) Header with company name and logo 2) Table listing export items with product name, current quantity, notes 3) Footer with company address and contact details 4) Edit modal to update export details like date, store, notes, and item quantities The document provides a template for an export permission form that can be customized and printed.

Uploaded by

Moustafa Samer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views6 pages

New Text Document

The document is an export permission form template that includes: 1) Header with company name and logo 2) Table listing export items with product name, current quantity, notes 3) Footer with company address and contact details 4) Edit modal to update export details like date, store, notes, and item quantities The document provides a template for an export permission form that can be customized and printed.

Uploaded by

Moustafa Samer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

{{--print Export --}}

<div wire:ignore.self class="modal fade" id="exportModal" tabindex="-1" aria-


labelledby="edit"

aria-hidden="true">
<div class="modal-dialog modal-lg" >
<div class="modal-content">
<div class="row mt-1 d-print-none">
<div class="col-sm-12 col-md-12 col-lg-12 d-print-none">
<div class="card">
<div class="card-header header-bg d-flex justify-content-
between align-items-center">
<h3 class="card-title header-title"> ‫< اذن صرف‬/h3>
<button type="button" class="btn-print btn text-light
ms-2 hint--right" aria-label="‫"طباعة‬
onclick="window.print()"><i class="fa-solid fa-
print text-light"></i>
</button>
</div>
</div>
</div>
</div>
<div class="page">
<div class="subpage">
<section class="header ">
<div class="row align-items-center">
<div class="col-4">
<div class="text-center">
<h4>
{{ $factory->name_ar ?? "‫}} "اليوجد‬
</h4>
</div>
</div>
<div class="col-4">
<h2 class="mb-2 "> ‫< اذن صرف‬/h2>
</div>
<div class="col-4 d-flex justify-content-end">
<img width="80px" height="80px"
src="@isset($factory) {{ asset('/public/' .
Storage::url($factory->logo)) ?? ''}} @endisset">
</div>
</div>
</section>
<section class="content ">
<div class="border rounded mb-1 mt-1">
<p class="p-1 pt-2 pb-2 m-0 text-end"> <strong>‫التاريخ‬
:</strong> {{ date('Y-m-d') }} </p>
</div>
<div class="sec4">
<table class="w-100">
<tr>
<th>‫< م‬/th>
<th> ‫< اسم الصنف‬/th>
<th> ‫< المخزن‬/th>
<th> ‫< الكمية الحالية‬/th>
<th> ‫< البيان‬/th>
</tr>
@foreach (\App\Models\ExportItem::where('id',
$this->export_id)->get() as $key => $exportItem)
<tr class="text-end">
<td>{{ $key + 1 }}</td>
<td>{{ $exportItem->item->name ?? '
‫<}}'اليوجد‬/td>
<td>{{ $exportItem->totalexport->stores-
>name ?? '‫<}}'اليوجد‬/td>
<td>{{ $exportItem->quantity ?? '
‫<}}'اليوجد‬/td>
<td>{{ $exportItem->notes ?? '‫<}}'اليوجد‬/td>

{{--
<td>{{ $equalizQuantite->note }}</td>--}}
</tr>
@endforeach
</table>
</div>
</section>
<section class="footer ">

<div class="row ">


<div class="col-8 ">
<p><strong>‫ اسم الشركة‬:</strong>
{{ $factory->name_ar ?? "‫}} "اليوجد‬
</p>
<p><strong>‫ العنوان‬:</strong>
{{ $factory->address1 ?? "‫}}"اليوجد‬

</p>
</div>
<div class="col-4 ">
<p><strong><i class="fa-solid fa-phone "></i>
<span>
{{ $factory->mobile1 ?? "‫ }} "اليوجد‬/
{{ $factory->mobile2 ?? "‫}} "اليوجد‬
</span></strong>
</p>
<p><strong><i class="fa-solid fa-link "></i> <span>

{{ $factory->website ?? "‫}}"اليوجد‬

</span></strong></p>
</div>
</div>

</section>
</div>
</div>
{{ $exports->render('pagination::bootstrap-4') }}
</div>
</div>

</div>

{{--edit export--}}
<div wire:ignore.self class="modal fade" id="edit"
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">

<select class="form-control store "


wire:model="new_store_id" name="store_id"
id="store_id">
<option value="" hidden>‫<اختر مخزن‬/option>
@foreach ($stores as $store)
<option value="{{$store->id}}" {{$store-
>new_store_id == $store->id ? 'selected':''}}>
{{$store->name}}
</option>
@endforeach
</select>
<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">
<textarea class="form-control " rows="3"
wire:model="nottes" id="note"
placeholder="‫ مالحظات‬..."
name="note"></textarea>
<label for="note" class=" col-form-label info">‫مالحظات‬
</label>
</div>
</div>
{{-- row 2 --}}
<table id="example2"
class="table table-bordered table-striped dataTable dtr-
inline mt-2"
aria-describedby="example1_info">
<thead>
<tr>
<th>‫<اسم الصنف‬/th>
<th>‫<الكمية الحالية‬/th>
<th>‫<الكمية‬/th>
<th>‫<العملية‬/th>
</tr>
</thead>
<tbody id="tbody">

@foreach($arr as $key =>$ar)


@foreach(\App\Models\
ExportItem::where('total_export_item_id',$this->export_id)->get() as $i=>
$itemStoreEdit)
<tr>

{{-- {{$itemStoreEdit->total_export_item_id}}--}}

<td style="width: 30%;" >


<div class="row m-{{$i}}">
<select class="form-control js-example-
basic-single" wire:model="arr.{{$i}}.item_idd" name="item_idd">

@foreach($newItems as $export)
<option value="{{$export->id }}"
@if($export->id == $this->arr[$key]['item_idd']) selected @endif>{{$export-
>name}}</option>
@endforeach
</select>
</div>
</td>
<td>

<input type="number" class="form-control "


wire:key="{{$i}}"
wire:change="newInputs({{ $i }},
$event.target.value)"
wire:model="arr.
{{$i}}.new_current_amount"
:value="newInputs.{{$i}}"
step="any" placeholder=" ‫"الكمية الحالية‬
readonly >
</td>
<td>
<input type="number" class="form-control
amountt"
wire:model="arr.{{$i}}.amountt"
step="any" placeholder="‫>"الكمية‬
</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>

{{--delete export--}}
<div wire:ignore.self class="modal fade" id="destroyExport" tabindex="-1" aria-
labelledby="deleteModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<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"
wire:click="closeModal"
aria-label="Close"></button>
</div>
<form wire:submit.prevent="destroy()">
<div class="modal-body">
<h4>‫< هل تريد حذف اذن صرف‬/h4>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary"
wire:click="closeModal"
data-bs-dismiss="modal">‫<ال اريد‬/button>
<button type="submit" class="btn btn-primary">‫<تأكيد‬/button>
</div>
</form>
</div>
</div>
</div>

</div>

You might also like