{{--
--}}

CIRUZ MEDICAL HOST

RELATÓRIO DE AGENDAMENTO

{{-- @if ($filtros['cx_data_inicial'])

PERÍODO: {{ date_format(date_create($filtros['cx_data_inicial']), 'd/m/Y') }} a {{ date_format(date_create($filtros['cx_data_final']), 'd/m/Y') }}

@endif --}}
{{--

{{ $cg->cg_tipo == 1 ? 'CLIENTE' : 'FUNCIONÁRIO'}}: {{ $cg->cg_nome}}

--}} {{-- --}} {{-- --}} @foreach($vendas as $venda) {{-- --}} @endforeach
CódigoData da Cirurgia Horário Paciente Prestador Procedimento Hospital Convênio PagamentoDébito Crédito Saldo
{{ date('d/m/Y', strtotime($venda->vd_dt_cirurgia)) }} {{ date('H:i:s', strtotime($venda->vd_dt_cirurgia)) }} {{ $venda->cg_pac->cg_nome }} {{ $venda->cg_pre->cg_apelido }} {{ $venda->proc->proc_nome }} {{ $venda->hp->hp_nome }} {{ $venda->cv ? $venda->cv->cv_nome : 'SEM CONVÊNIO' }} @if($venda->vd_tipo ==1) {{ $venda->vd_dt_recebido? 'Pago' : 'Em aberto' }} @else {{ $venda->vd_dt_recebido? 'Verificar com o faturamento' : 'Em aberto' }} @endif {{date_format(date_create($cx->cx_data) , 'd/m/Y')}} {{ $cx->cx_historico }} {{ $cx->cx_debito }} {{ $cx->cx_credito }} {{ $cx->cx_saldo = number_format($cx->cx_saldo, 2, ',', '.'); }}

TOTAL: {{ count($vendas) }}