@extends('client.layouts.app') @if (isset($open_sale_bill) && !empty($open_sale_bill)) @section('title', ' فاتورة مبيعات ' . $open_sale_bill->sale_bill_number) @else @section('title', ' فاتورة مبيعات ' . $pre_bill) @endif @section('content')
@csrf @if (isset($open_sale_bill) && !empty($open_sale_bill)) @else @endif
اسم العميل @include("components.modal-view", [ 'modalLabl' => 'إضافة عميل جديد', 'modalId' => 'add-new-client', 'modalTrigger' => [ 'icon' => 'plus', 'label' => '', 'class' => 'btn ', ], 'srcUrl' => 'client.outer_clients.createForm' ])
تاريخ الفاتورة
وقت الفاتورة
@if($useStores) مخزن البيع @if($useServices) / @endif @endif @if($useServices) فئة البيع @endif
outer_client_id)) style="display: none !important;" @endif>
outer_client_id)) value="{{ $open_sale_bill->OuterClient->client_category }}" @endif readonly id="category"/>
outer_client_id)) value="@if ($open_sale_bill->OuterClient->balance > 0) علية @else لة @endif {{ $open_sale_bill->OuterClient->balance }}" @endif class="form-control" readonly id="balance_before"/>
outer_client_id)) value="{{ $open_sale_bill->OuterClient->client_national }}" @endif readonly id="client_national"/>

كود المنتج او الاسم
السعر :
الكمية
الاجمالى
م

@if ($open_sale_bill) @foreach ($open_sale_bill->elements as $element)

المنتج

{{ $element->product->product_name }}
@if ($element->product->is_product == 1) {{ $element->store->store_name }} @else الخدمات @endif

الكمية

product->is_product == 1) @else max="999999" @endif min="0" step="any">

الوحدة

{{ $element->unit->unit_name }}

السعر

الإجمالي

@endforeach @endif

@if (isset($open_sale_bill) && !empty($open_sale_bill)) @else @endif @if (isset($open_sale_bill) && !empty($open_sale_bill) && $open_sale_bill->status == 'done') @else
@csrf @if (isset($open_sale_bill) && !empty($open_sale_bill)) @else @endif
@endif
@csrf

طريقة الدفع

{{-- bank pay --}}
@endsection @section('script') @endsection @section('style') @endsection