@extends('layouts.base') @push('css') @endpush @section('content')
@if ($errors->get('date_start')) @foreach($errors->get('date_start') as $error) {{$error}} @endforeach @endif
@if ($errors->get('date_end')) @foreach($errors->get('date_end') as $error) {{$error}} @endforeach @endif

Ganancias

@if(Session::has('earnings') and count(Session::get('earnings'))>0) @foreach(Session::get('earnings') as $earning) @endforeach @endif @if(Session::has('total_earnings')) @endif
Ganancias
# Transacción # Compra # Ganancia
{{$earning->id}} {{($earning->transaction_id)?$earning->transaction_id:'N/A'}} {{($earning->purchase_id)?$earning->purchase_id:'N/A'}} {{$earning->earning}}
Total: {{Session::get('total_earnings')}}
@endsection @push('js') @endpush