Driver License Details

@livewire("driver-license.view-driver-license-component", ["licenseId" => $transaction->driver_license_id,'transactionPage' => true])

@lang("labels.classification")

@if($transaction->status != "END") @else @endisset @php if($transaction->status != "END") { $data = json_decode($transaction->transaction_data,true); } else { $audit = resolve('OwenIt\\Auditing\\Models\\Audit')::where('auditable_type','Modules\Party\Entities\DriverLicense') ->where('auditable_id',$transaction->driverLicense->id) ->where('new_values',json_encode(['classification' => $transaction->driverLicense->classification,"transaction_id" => $transaction->id])) ->latest()->first(); $data["classification"] = isset($audit->old_values["classification"])?$audit->old_values["classification"]:""; } @endphp
CurrentChangedPrevious
{{$transaction->driverLicense->classification}}{{ $data["classification"] }}

@lang('labels.owner')

@livewire("party.view-party-component", ["partyId" => $transaction->party->id])
@canany(['approve_transactions','reject_transactions']) @canActionWorkflow($transaction)
@canCollectPayment($invoice) @if(sizeOf($invoice_payment) == 0) pay @else @lang("labels.approve") @endif @else @can('approve_transactions')@endcan @can('reject_transactions')@endcan @endCanCollectPayment
@endCanActionWorkflow @endcanany