+ data-width="{{ $divided == 0 ? '1' : ($floatval($user->total_transaksi_berhasil) * 100) / $divided }}%">
Rp
{{ number_format($user->total_transaksi_berhasil, 2, ',', '.') }}
@@ -183,7 +186,7 @@
+ data-width="{{ $divided == 0 ? '1' : ($floatval($user->total_transaksi_berhasil) * 100) / $divided }}%">
Rp
{{ number_format($user->total_refund_berhasil, 2, ',', '.') }}
diff --git a/resources/views/Admin/refund/detail-refund.blade.php b/resources/views/Admin/refund/detail-refund.blade.php
index 39aa432..6c47a0d 100644
--- a/resources/views/Admin/refund/detail-refund.blade.php
+++ b/resources/views/Admin/refund/detail-refund.blade.php
@@ -69,11 +69,13 @@
Total Bayar
-
{{ $refund->transaction->total_bayar }}
+
Rp {{ number_format($refund->transaction->total_bayar, 2, ',', '.') }}
+
Total Refund
-
{{ $refund->transaction->total_harga }}
+
Rp {{ number_format($refund->transaction->total_harga, 2, ',', '.') }}
+
Batas Pengajuan Refund
diff --git a/resources/views/Admin/transaction/detail-transaction.blade.php b/resources/views/Admin/transaction/detail-transaction.blade.php
index 769f701..ff8051d 100644
--- a/resources/views/Admin/transaction/detail-transaction.blade.php
+++ b/resources/views/Admin/transaction/detail-transaction.blade.php
@@ -247,9 +247,9 @@
@endif
@@ -430,11 +430,6 @@
}
});
});
-
- $('#btnPDF').on('click', function() {
- const id = $(this).data('id');
- location.href = "{{ route('invoice.get', ':id') }}".replace(':id', id);
- });
});
@endsection
diff --git a/resources/views/Admin/users/detail-user.blade.php b/resources/views/Admin/users/detail-user.blade.php
index 46c63ab..5dbd623 100644
--- a/resources/views/Admin/users/detail-user.blade.php
+++ b/resources/views/Admin/users/detail-user.blade.php
@@ -19,12 +19,12 @@