@extends('layouts.app') @section('content')
Ordenes de la sucursal {{ $sucursal->name }}
@csrf @if($sucursales->count() > 1)
@endif @if($sucursales->count() == 1) @endif

Total Vendido: Q. {{ $total }}

@foreach ($orders as $key => $order) @endforeach
No. Fecha y Hora Nombre Cliente Tipo Estado Tiempo Subtotal Descuento Total Acciones
{{ $order->order_number }} {{ $order->start }} {{ $order->cliente }} {{ $order->categoryname }} {{ $order->status }} {{ $order->time }} {{ $order->total + $order->discount }} {{ $order->discount }} {{ $order->total }} @if($order->status != 'anulada') @endif
@endsection @section('footer') @endsection