@extends('adminlte::page') @section('content') @if ($message = Session::get('success'))

Successfully imported {{ $message['imported'] }} skipped {{ count($message['skipped_values']) }} entries : {{ implode(',', $message['skipped_values']) }}

@endif

Import History

Filter:
@if ($import_history->count() > 0) @foreach (\App\ImportHistory::where('report_type', 'compass_report') ->latest() ->paginate(40) as $import) @endforeach
Filename Report type Import success Failed Errors Date Total Total pay Delete
{{ $import->filename }} {{ $import->report_type }} {{ $import->imported_rows }} {{ $import->failed_rows }} {{ $import->created_at->format('d/m/Y') }} @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total') }}@endif @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total_pay') }}@endif
{{ \App\ImportHistory::whereIn('report_type', ['compass_report'])->paginate(40)->links() }} @else
No reports has been imported yet!
@endif
@if ($import_history->count() > 0) @foreach (\App\ImportHistory::whereIn('report_type',['love_statements', 'pilot_statements', 'road-rangers', 'ta-petro-statement']) ->latest() ->paginate(40) as $import) @endforeach
Filename Report type Import success Failed Errors Date Total Total pay Delete
{{ $import->filename }} {{ $import->report_type }} {{ $import->imported_rows }} {{ $import->failed_rows }} {{ $import->created_at->format('d/m/Y') }} @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total') }}@endif @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total_pay') }}@endif
{{ \App\ImportHistory::whereIn('report_type', ['love_statements', 'pilot_statements', 'road_rangers','ta_petro_statement'])->latest()->paginate(40)->links() }} @else
No reports has been imported yet!
@endif
@if ($import_history->count() > 0) @foreach (\App\ImportHistory::whereIn('report_type',['pilot-price-lists', 'road-rangers-price-lists', 'ta-petro-daily-prices', 'loves-daily-prices']) ->latest() ->paginate(40) as $import) @endforeach
Filename Report type Import success Failed Errors Date Total Total pay Delete
{{ $import->filename }} {{ $import->report_type }} {{ $import->imported_rows }} {{ $import->failed_rows }} {{ $import->created_at->format('d/m/Y') }} @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total') }}@endif @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total_pay') }}@endif
{{ \App\ImportHistory::whereIn('report_type', ['pilot-price-lists', 'road-rangers-price-lists', 'ta-petro-daily-prices', 'loves-daily-prices'])->latest()->paginate(40)->links() }} @else
No reports has been imported yet!
@endif
@if ($import_history->count() > 0) @foreach (\App\ImportHistory::where('report_type','quickbooks-verification-carriers')->latest()->paginate() as $import) @endforeach
Filename Report type Import success Failed Errors Date Total Total pay Delete
{{ $import->filename }} {{ $import->report_type }} {{ $import->imported_rows }} {{ $import->failed_rows }} {{ $import->created_at->format('d/m/Y') }} @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total') }}@endif @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total_pay') }}@endif
{{ \App\ImportHistory::where('report_type','quickbooks-verification-carriers')->latest()->paginate()->links() }} @else
No reports has been imported yet!
@endif
@if ($import_history->count() > 0) @foreach (\App\ImportHistory::where('report_type','qb-verification-drivers')->latest()->paginate() as $import) @endforeach
Filename Report type Import success Failed Errors Date Total Failed Delete
{{ $import->filename }} {{ $import->report_type }} {{ $import->imported_rows }} {{ $import->failed_rows }} {{ $import->created_at->format('d/m/Y') }} @if ($import->report_type == 'compass_report') {{ $import->transactions->sum('total') }}@endif {{ $import->errors }}
{{ \App\ImportHistory::where('report_type','qb-verification-drivers')->latest()->paginate()->links() }} @else
No reports has been imported yet!
@endif
@stop @section('css') {{-- --}} @stop @section('js') @stop