@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("Invoice Parts")}}

{{__("All Invoice Parts")}}

@endsection @section("css-links") getLocale() . "/pages/orders.css")}}"> @endsection @section("content")
@csrf {{__("Export As Excel")}}
@foreach($InvoiceParts as $InvoicePart) @endforeach
#{{__("ID")}} {{__("Invoice Part Name")}} {{__("order number")}} {{__("Part Price")}} {{__("Technician Name")}} {{__("Main Specialties")}} {{__("Services")}}
{{$InvoicePart->id}} {{$InvoicePart->name}} {{$InvoicePart->Invoice ? ($InvoicePart->invoice->order ? $InvoicePart->invoice->order->id : Null) : Null}} {{$InvoicePart->price}} {{$InvoicePart->invoice->order->getAccept() !== null ?$InvoicePart->invoice->order->getAccept()->technician->full_name:null}} {{$InvoicePart->invoice->order->getAccept() !== null ?$InvoicePart->invoice->order->getAccept()->technician->getAllNameCategory():null}} @foreach($InvoicePart->invoice->services as $index => $service) @if($index == 0) {{$service->service->name}} @else {{ " - " . $service->service->name}} @endif @endforeach
@endsection @section("scripts") @endsection