@extends('layouts.master') @section('title') {{ __('home.edit_previous_invoices') }} @stop @section('css') @endsection @section('page-header')
@endsection @section('content')| {{ __('sales.th_invoice_id') }} | {{ __('sales.th_seller') }} | {{ __('sales.th_customer_name') }} | {{ __('sales.th_date') }} | {{ __('sales.th_tailor') }} | {{ __('sales.th_branch') }} | {{ __('sales.th_total_inc_tax') }} | {{ __('sales.th_payment_method') }} | {{ __('sales.th_actions') }} |
|---|---|---|---|---|---|---|---|---|
| #{{ $product->id }} | {{-- 2. البائع --}}{{ $product->user->name ?? '---' }} | {{-- 3. اسم العميل --}}{{ $product->customer->name ?? '---' }} | {{-- 4. التاريخ --}}{{ date('Y-m-d', strtotime($product->created_at)) }} | {{-- 5. الخياط --}}{{ $product->employee->name_ar ?? "لا يوجد" }} | {{-- 6. الفرع --}}{{ $product->branch->name ?? '---' }} | {{-- 7. الإجمالي شامل الضريبة --}}@if(round($totalWithTax, 2) == 0) {{ __('home.return') }} @else {{ number_format($totalWithTax, 2) }} ريال @endif | {{-- 8. طريقة الدفع --}}@if ($product->Pay == 'Cash') {{ __('report.cash') }} @elseif ($product->Pay == 'Shabka') {{ __('report.shabka') }} @elseif ($product->Pay == "Credit") {{ __('report.credit') }} @elseif ($product->Pay == "Bank_transfer") {{ __('home.Bank_transfer') }} @else {{ __('home.Partition of the amount') }} @endif @if($product->Pay == "Partition") نقداً: {{ round($totalWithTax - $product->bankamount - $product->Bank_transfer, 2) }} | شبكة: {{ $product->bankamount }} @endif | {{-- 9. زر الإجراء --}}{{ __('sales.edit_measurements') }} |
{{ __('sales.use_search_hint') }}