@extends('cr_blank') @section('content') @include('componentes.r_header') @if ($sucursal)
{{ $sucursal->nombre }}
@else @endif
Del {{ date('d/m/Y',strtotime($ini)) }} al {{ date('d/m/Y',strtotime($fin)) }}
@php $s_total = 0; $s_contado = 0; $s_credito = 0; @endphp @foreach ($datos as $item) @php $s_total += $item->total; $s_contado += $item->t_contado; $s_credito += $item->t_credito; @endphp @endforeach
N. SUCURSAL TOTALVENTA (BS) VENTA EFECTIVO (BS) VENTA CREDITO (BS)
{{ ++$i }} {{ $item->nombre }} {{ number_format($item->t_contado + $item->t_credito,2) }} {{ number_format($item->t_contado,2) }} {{ number_format($item->t_credito,2) }}
TOTALES {{ number_format($s_total,2) }} {{ number_format($s_contado,2) }} {{ number_format($s_credito,2) }}
{{--
{{ $datos->total }}
--}} @endsection @section('scripts') @endsection