Skip to content

Commit bb8e438

Browse files
committed
chore: wip
1 parent 6f81b29 commit bb8e438

File tree

2 files changed

+3
-94
lines changed

2 files changed

+3
-94
lines changed

storage/framework/defaults/views/dashboard/commerce/gift-cards/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,10 @@ function addGiftCard(): void {
593593
</td>
594594
<td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-6">
595595
<div class="flex items-center justify-end space-x-2">
596-
<button type="button" class="text-blue-600 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300">
596+
<button type="button" class="text-gray-400 transition-colors duration-150 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300">
597597
<div class="i-hugeicons-view h-5 w-5"></div>
598598
</button>
599-
<button type="button" class="text-blue-600 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300">
599+
<button type="button" class="text-gray-400 transition-colors duration-150 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300">
600600
<div class="i-hugeicons-edit-01 h-5 w-5"></div>
601601
</button>
602602
</div>

storage/framework/defaults/views/dashboard/commerce/payments/index.vue

Lines changed: 1 addition & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -447,97 +447,6 @@ const totalAmount = computed(() => {
447447
</div>
448448
</div>
449449

450-
<!-- Summary cards -->
451-
<div class="mt-8 grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4">
452-
<!-- Total transactions card -->
453-
<div class="overflow-hidden rounded-lg bg-white shadow dark:bg-blue-gray-800">
454-
<div class="p-5">
455-
<div class="flex items-center">
456-
<div class="flex-shrink-0">
457-
<div class="h-10 w-10 rounded-md bg-blue-100 p-2 dark:bg-blue-900">
458-
<div class="i-hugeicons-credit-card h-6 w-6 text-blue-600 dark:text-blue-300"></div>
459-
</div>
460-
</div>
461-
<div class="ml-5 w-0 flex-1">
462-
<dl>
463-
<dt class="truncate text-sm font-medium text-gray-500 dark:text-gray-400">Total Transactions</dt>
464-
<dd>
465-
<div class="text-lg font-medium text-gray-900 dark:text-white">{{ transactions.length }}</div>
466-
</dd>
467-
</dl>
468-
</div>
469-
</div>
470-
</div>
471-
</div>
472-
473-
<!-- Completed transactions card -->
474-
<div class="overflow-hidden rounded-lg bg-white shadow dark:bg-blue-gray-800">
475-
<div class="p-5">
476-
<div class="flex items-center">
477-
<div class="flex-shrink-0">
478-
<div class="h-10 w-10 rounded-md bg-green-100 p-2 dark:bg-green-900">
479-
<div class="i-hugeicons-checkmark-circle-01 h-6 w-6 text-green-600 dark:text-green-300"></div>
480-
</div>
481-
</div>
482-
<div class="ml-5 w-0 flex-1">
483-
<dl>
484-
<dt class="truncate text-sm font-medium text-gray-500 dark:text-gray-400">Completed</dt>
485-
<dd>
486-
<div class="text-lg font-medium text-gray-900 dark:text-white">
487-
{{ transactions.filter(t => t.status === 'Completed').length }}
488-
</div>
489-
</dd>
490-
</dl>
491-
</div>
492-
</div>
493-
</div>
494-
</div>
495-
496-
<!-- Failed transactions card -->
497-
<div class="overflow-hidden rounded-lg bg-white shadow dark:bg-blue-gray-800">
498-
<div class="p-5">
499-
<div class="flex items-center">
500-
<div class="flex-shrink-0">
501-
<div class="h-10 w-10 rounded-md bg-red-100 p-2 dark:bg-red-900">
502-
<div class="i-hugeicons-cancel-circle h-6 w-6 text-red-600 dark:text-red-300"></div>
503-
</div>
504-
</div>
505-
<div class="ml-5 w-0 flex-1">
506-
<dl>
507-
<dt class="truncate text-sm font-medium text-gray-500 dark:text-gray-400">Failed</dt>
508-
<dd>
509-
<div class="text-lg font-medium text-gray-900 dark:text-white">
510-
{{ transactions.filter(t => t.status === 'Failed').length }}
511-
</div>
512-
</dd>
513-
</dl>
514-
</div>
515-
</div>
516-
</div>
517-
</div>
518-
519-
<!-- Total amount card -->
520-
<div class="overflow-hidden rounded-lg bg-white shadow dark:bg-blue-gray-800">
521-
<div class="p-5">
522-
<div class="flex items-center">
523-
<div class="flex-shrink-0">
524-
<div class="h-10 w-10 rounded-md bg-blue-100 p-2 dark:bg-blue-900">
525-
<div class="i-hugeicons-dollar-circle h-6 w-6 text-blue-600 dark:text-blue-300"></div>
526-
</div>
527-
</div>
528-
<div class="ml-5 w-0 flex-1">
529-
<dl>
530-
<dt class="truncate text-sm font-medium text-gray-500 dark:text-gray-400">Total Amount</dt>
531-
<dd>
532-
<div class="text-lg font-medium text-gray-900 dark:text-white">${{ totalAmount.toFixed(2) }}</div>
533-
</dd>
534-
</dl>
535-
</div>
536-
</div>
537-
</div>
538-
</div>
539-
</div>
540-
541450
<!-- Filters -->
542451
<div class="mt-8 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
543452
<div class="relative max-w-sm">
@@ -548,7 +457,7 @@ const totalAmount = computed(() => {
548457
v-model="searchQuery"
549458
type="text"
550459
class="block w-full rounded-md border-0 py-1.5 pl-10 pr-3 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-blue-600 sm:text-sm sm:leading-6 dark:bg-blue-gray-800 dark:text-white dark:ring-gray-700 dark:placeholder:text-gray-500"
551-
placeholder="Search transactions"
460+
placeholder="Search transactions..."
552461
/>
553462
</div>
554463

0 commit comments

Comments
 (0)