@include('admin.layouts.header') @include('admin.layouts.sidebar')

Odoo Maker-Checker Execution

@if(isset($odooRole) && $odooRole) Role: {{ $odooRole === 'checker_l1' ? 'L1 Checker' : ($odooRole === 'checker_l2' ? 'L2 Checker' : ucfirst($odooRole)) }} @else View Only @endif
View JVs JV Config
@if(Session::has('success')) @endif @if(Session::has('error')) @endif
Pending L1
{{ \App\OdooExecution::where('l1_status', 'pending')->count() }}
Pending L2
{{ \App\OdooExecution::where('l1_status', 'approved')->where('l2_status', 'pending')->count() }}
Ready for Odoo
{{ \App\OdooExecution::where('odoo_status', 'ready')->count() }}
Pushed to Odoo
{{ \App\OdooExecution::where('odoo_status', 'pushed')->count() }}

Initiated Entries Queue

Reset
@forelse($executions as $exec) @empty @endforelse
# Loan No & Customer Business Name Transaction Type Period Amount Maker L1 Checker L2 Checker Odoo Actions
{{ $exec->id }}
{{ $exec->loan_no ?? '—' }}
{{ $exec->customer_name ?? '—' }}
{{ $exec->business_name }}
{{ $exec->transaction_type }}
{{ $exec->voucher_type }}
@if($exec->month && $exec->year) {{ date('M', mktime(0, 0, 0, $exec->month, 10)) }} {{ $exec->year }} @else — @endif ₹ {{ number_format($exec->amount, 2) }}
{{ $exec->maker_name ?: 'Maker' }}
{{ $exec->initiated_at ? $exec->initiated_at->format('d M, h:i A') : '—' }}
@if($exec->l1_status === 'approved') Approved
{{ $exec->l1_user_name }}
{{ $exec->l1_approved_at ? $exec->l1_approved_at->format('d M, h:i A') : '' }}
@elseif($exec->l1_status === 'rejected') Rejected
{{ $exec->l1_user_name }}
@else Pending @if($isCheckerL1)
@endif @endif
@if($exec->l2_status === 'approved') Approved
{{ $exec->l2_user_name }}
{{ $exec->l2_approved_at ? $exec->l2_approved_at->format('d M, h:i A') : '' }}
@elseif($exec->l2_status === 'rejected') Rejected
{{ $exec->l2_user_name }}
@else @if($exec->l1_status === 'approved') Pending @if($isCheckerL2)
@endif @elseif($exec->l1_status === 'rejected') — @else Awaiting L1 @endif @endif
@if($exec->odoo_status === 'pushed') Pushed @if($exec->odoo_voucher_number)
#{{ $exec->odoo_voucher_number }}
@endif @if($exec->pushed_at)
{{ $exec->pushed_at->format('d M, h:i A') }}
@endif @elseif($exec->odoo_status === 'ready') Ready
@elseif($exec->odoo_status === 'failed') Failed
@elseif($exec->odoo_status === 'rejected') Rejected @else Pending @endif
No execution records found matching the filter criteria.
{{ $executions->appends(request()->query())->links() }}
JV Execution Details
Loading...
Loading...

Loading execution details...

@include('admin.layouts.footer')