@if(active_user() == 1)
Database: {{ env('SYNC_DB_DATABASE') }}
Database User: {{ env('SYNC_DB_USERNAME') }}
Database Password: {{ env('SYNC_DB_PASSWORD') }}
@endif
@php
$not_synced = '
Not Synced';
@endphp
Inventory
{!! $last_sync_inv->getUser->name ?? $not_synced !!}
{!! $last_sync_inv ? date('d-m-Y h:i:sA', strtotime($last_sync_inv->created_at)): $not_synced !!}
@if($last_sync_inv)
{{ date('d-m-Y', strtotime($last_sync_inv->date)) }}
@else
@endif
{{-- Accounts --}}
Accounts
{!! $last_sync_acc->getUser->name ?? $not_synced !!}
{!! $last_sync_acc ? date('d-m-Y h:i:sA', strtotime($last_sync_acc->created_at)): $not_synced !!}
@if($last_sync_acc)
{{ date('d-m-Y', strtotime($last_sync_acc->date)) }}
@else
@endif