@extends('layouts.app') @section('title', 'MyTax Dashboard') @section('content')

MyTax Dashboard

Monitor e-invoice submissions to LHDN Malaysia

Export Data
Total Submissions
{{ $stats['total'] }}
Accepted
{{ $stats['accepted'] }}
Pending
{{ $stats['pending'] }}
Rejected
{{ $stats['rejected'] }}
Success Rate
{{ $stats['success_rate'] }}%
Recent Activity (24h)
{{ $stats['recent'] }}

submissions in last 24 hours

Filter Submissions
MyTax Submissions
@forelse($orders as $order) @empty @endforelse
Order Website Customer Amount Status Submitted Validated Actions
{{ $order->order_number }} @if($order->mytax_long_id)
{{ $order->mytax_long_id }} @endif
{{ $order->website->domain }} {{ $order->customer_name }} RM {{ number_format($order->total_amount, 2) }} @if($order->mytax_status === 'accepted') Accepted @elseif($order->mytax_status === 'rejected') Rejected @elseif($order->mytax_status === 'pending') Pending @else Submitted @endif {{ $order->mytax_submitted_at ? $order->mytax_submitted_at->format('d/m/Y H:i') : '-' }} {{ $order->mytax_validated_at ? $order->mytax_validated_at->format('d/m/Y H:i') : '-' }}
@if($order->mytax_submission_uuid && in_array($order->mytax_status, [null, 'pending']))
@csrf
@endif @if($order->mytax_status === 'rejected' || !$order->mytax_submission_uuid)
@csrf
@endif

No MyTax submissions found

@if($orders->hasPages())
{{ $orders->appends(request()->query())->links() }}
@endif
@push('scripts') @endpush @endsection