Processing...
{{-- --}}
Calendar
{{-- --}}
Calendar

Orders

@php $plus = ($orders->currentPage()-1) * $per_page_selected; @endphp @if(count($orders) > 0) @foreach ($orders as $order) @endforeach @else @endif
ID Name {{-- --}} Email {{-- --}} Date {{-- --}} Products {{-- --}} Type {{-- --}} Status {{-- --}} Sum price {{-- --}} Action
{{ $loop->iteration + $plus}} {{ $order->first_name }} {{ $order->last_name }} {{$order->email }} {{ \Carbon\Carbon::parse($order->created_at)->format('d.M.Y')}}
    @if($order->products) @foreach ( $order->products as $order_product)
  • {{$order_product->product->title}} x {{$order_product->quantity}}
  • @endforeach @endif
{{$order->type }} {{$order->status }} ${{$order->sum_price() }} View
No orders
{{ $orders->onEachSide(3)->links('custom-pagination-links-view') }}
{{--

Invoice orders

@php $plus = ($invoice_orders->currentPage()-1) * $per_page_selected; @endphp @foreach ($invoice_orders as $order) @endforeach
ID Name Email Date Products Type Status Sum price Action
{{ $loop->iteration + $plus}} {{ $order->first_name }} {{ $order->last_name }} {{$order->email }} {{ \Carbon\Carbon::parse($order->created_at)->format('d.M.Y')}}
    @if($order->products) @foreach ( $order->products as $order_product)
  • {{$order_product->product->title}} x {{$order_product->quantity}}
  • @endforeach @endif
{{$order->type }} {{$order->status }} ${{$order->sum_price() }} View
{{ $invoice_orders->onEachSide(3)->links('custom-pagination-links-view') }}
--}}
@push('modals') @livewire('orders.modals.download-csv') @endpush