@extends('layouts.admin') @section('page_title', 'Daftar Transaksi System') @section('admin_content') @if($hasPendingTransactions ?? false) @endif @push('scripts') @endpush
Total Keuntungan Petro Prabu {{ $startDate || $endDate ? 'Terfilter' : 'Bulan Ini' }} @php $currentFeeSetting = (float)\App\Models\AppSetting::get('gas_admin_fee', 4000.00); $currentEstProfit = max(0, $currentFeeSetting - \App\Models\GasTransaction::DEVELOPER_FEE_PER_BILL); @endphp + Rp {{ number_format($currentEstProfit, 0, ',', '.') }} / tagihan
Rp {{ number_format($totalProfit, 0, ',', '.') }}
{{ $successfulCount }} Trx Sukses
Total Transaksi Sukses
{{ $successfulCount }} / {{ $totalTrxCount }} Total Trx
Gas Kota Prabumulih Lunas
Total Omzet Pembayaran Gas
Rp {{ number_format($totalGasBill, 0, ',', '.') }}
Akumulasi tagihan terpotong

Filter Data Transaksi

Download Excel @if($startDate || $endDate || $search || $status) Reset Filter @else @endif

Riwayat Transaksi Gas Kota Prabumulih

@if($startDate || $endDate) Menampilkan data periode: {{ $startDate ? date('d/m/Y', strtotime($startDate)) : 'Awal' }} s/d {{ $endDate ? date('d/m/Y', strtotime($endDate)) : 'Hari Ini' }} @else Menampilkan data default bulan berjalan ({{ date('F Y') }}) @endif

Total: {{ $gasTransactions->total() }} Transaksi
@forelse ($gasTransactions as $trx) @empty @endforelse
Trx Code / Ref Pengguna Kelurahan ID Pelanggan / Nama Nominal Tagihan Keuntungan Status Aksi Rekonsiliasi
{{ $trx->trx_code }}
{{ $trx->user->name ?? 'User' }}
{{ $trx->created_at->format('d/m/Y H:i') }}
{{ $trx->user?->kelurahan ?: '-' }}
{{ $trx->customer_id }}
{{ $trx->customer_name }}
Rp {{ number_format($trx->total_amount, 0, ',', '.') }} @if($trx->status === 'success') @php $trxProfit = $trx->profitAmount(); @endphp + Rp {{ number_format($trxProfit, 0, ',', '.') }}
{{ $trx->billCount() }} tagihan
@else Rp 0 @endif
{{ strtoupper($trx->status) }}
@csrf
@if ($trx->status === 'failed')
@csrf
@endif
Tidak ada data transaksi yang sesuai dengan filter yang dipilih.
@if($gasTransactions->hasPages())
{{ $gasTransactions->links() }}
@endif
@endsection