@extends('layouts.master') @section('css') @endsection @section('title') {{ __('report.Delivery_notes') }} - {{ __('home.print') }} @endsection @section('page-header') @endsection @section('content')

إذن تسليم بضاعة / ملاحظات التوصيل

Delivery Notes Report

{{ Nameen ?? 'Company Name' }}

{{ describtionen ?? '' }}

ST: {{ STen ?? '' }}
Tax ID: {{ Taxen ?? '' }}
@php $logo = camplogo ?? 'default-logo.png'; @endphp logo
{{ Namear ?? 'اسم الشركة' }}

{{ describtionar ?? '' }}

السجل التجاري: {{ STar ?? '' }}
الرقم الضريبي: {{ Taxar ?? '' }}
@if (isset($Invoices))
{{ __('home.exportTime') }} : {{ \Carbon\Carbon::now()->addHours(3)->format("Y-m-d H:i:s") }}
@php $count = 0; $startat = ''; $endat = ''; $totalprofit = 0; @endphp @foreach ($Invoices as $invoice) @php if ($count == 0) { $startat = $invoice->created_at; } $endat = $invoice->created_at; $count++; @endphp
{{ __('report.invoiceNo') }} {{ $invoice->orderId }}
{{ __('home.suppliername') }} {{ $invoice->supllier->name ?? '---' }}
{{ __('home.notesClient') }} {{ $invoice->notes ?? '---' }}
{{ __('users.branch') }} {{ $invoice->branch->name ?? '---' }}
@php $i = 0; @endphp @foreach (App\Models\orderDetails::where('order_owner', $invoice->orderId)->where('numberofpice', '!=', 0)->get() as $product) @php $i++; $totalprofit += $product->quantity * $product->Unit_Price - $product->quantity * $product->productData->purchasingـprice; $date = explode(' ', $product->created_at); @endphp @endforeach
# {{ __('report.date') }} {{ __('home.productNo') }} {{ __('home.product') }} {{ __('home.quantity') }} {{ __('home.saleprice') }}
{{ $i }} {{ $date[0] }} {{ $product->productData->Product_Code ?? '' }} {{ $product->productData->product_name ?? '' }} {{ $product->numberofpice }} {{ $product->productData->purchasingـprice ?? '' }}
@if(!$loop->last)
@endif @endforeach
@endif
@endsection @section('js') @endsection