@extends('patent::layouts.master') @section('title', 'Waiting Transactions') @section('content')
| Reference | Patent | Type | Country | Amount | Deadline | Status | Approval Progress | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $transaction->reference_no }} | {{ $transaction->patent->aipt_ref ?? 'N/A' }} | {{ $transaction->transactionType->name ?? 'N/A' }} | {{ $transaction->country ?? 'N/A' }} | {{ $transaction->formatted_amount }} {{ $transaction->currency }} |
@if($transaction->deadline)
{{ $transaction->deadline->format('M d, Y') }}
@if($transaction->is_overdue)
Overdue @endif @else No deadline @endif |
{{ ucfirst($transaction->status) }} |
@foreach($transaction->approval_sequence as $index => $step)
@php
$isDone = $step['status'] === 'T';
$isCurrent = $step['is_current'] ?? false;
$badgeClass = $isDone ? 'bg-success' : ($isCurrent ? 'bg-warning' : 'bg-secondary');
$icon = $isDone ? 'β
' : ($isCurrent ? 'β³' : 'βΈοΈ');
@endphp
{{ $icon }} {{ $step['name'] }}
@endforeach
|
View |
There are no transactions waiting for other roles to approve.
Go to Dashboard