@extends('layouts.master') @section('css') @section('title') {{__('report.Rosaryـdetails')}}@stop @endsection @section('page-header') @endsection @section('content') @if (count($errors) > 0)
خطا
@endif
{{ csrf_field() }}

{{__('users.branch')}}

{{__('home.paymentmethod')}}


@if(isset($Invoices)) @foreach ($Invoices as $invoice)
Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 140

Warning: Attempt to read property "Added_Value" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 140

Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 141

Warning: Attempt to read property "Price" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 141

Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 143

Warning: Attempt to read property "user_id" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 143

Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 144

Warning: Attempt to read property "created_at" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 144

Warning: Undefined variable $invoice in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 146

Warning: Attempt to read property "created_at" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 146

{{__('report.invoiceNo')}} : {{$invoice->id}}
{{__('users.branch')}} : {{$invoice->branch->name}}
{{__('home.paymentmethod')}} : @if ($invoice->Pay == 'Cash') {{__('report.cash') }} @elseif($invoice->Pay == 'Credit') {{__('report.credit') }} @else {{__('report.shabka') }} @endif
@foreach(App\Models\sales::where('invoice_id',$invoice->id)->get() as $product)
Warning: Undefined variable $product in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 193

Warning: Attempt to read property "created_at" on null in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 193

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/ebdea/public_html/trasl.ebdea.online/resources/views/reports/shift_detailes.blade.php on line 193
@endforeach
# {{__('report.date')}} {{__('home.productNo')}} {{__('home.product')}} {{__('home.quantity')}} {{__('home.price')}} {{__('home.addedValue')}} {{__('home.total')}}
{{$i}} {{$date[0]}} {{$product->productData->Product_Code}} {{$product->productData->product_name}} {{$product->quantity}} {{$product->Unit_Price}} {{$product->Added_Value}} {{($product->quantity*$product->Added_Value)+($product->quantity*$product->Unit_Price)}}
{{__('home.total')}} : {{($invoice->Added_Value+$invoice->Price)}}

@endforeach
----------------------------------------------------- {{__('report.totalprice')}} ---------------------------
{{__('report.totalpricewithoudtax')}} : {{ $totalprice}}

{{__('report.totaltax')}} : {{$totaladdedvalue}}

{{__('report.totalallprice')}} : {{($totaladdedvalue+ $totalprice)}}
----------------------------------------------------------------------------------------------------

@endif
@endsection @section('js') @endsection