Add complete frontend UI for Letzshop marketplace integration:
Admin portal (/admin/letzshop):
- Vendor overview with Letzshop status cards
- Vendor table with configuration state and sync info
- Configuration modal for API credentials
- Connection testing and manual sync triggers
- Orders modal for viewing vendor orders
Vendor portal (/vendor/{code}/letzshop):
- Orders tab with import, confirm, reject actions
- Settings tab for API credentials management
- Tracking modal for shipment updates
- Order details modal with line items
- Stats display for order status counts
Also includes:
- Routes for both admin and vendor Letzshop pages
- Sidebar navigation updates for both portals
- Alpine.js data functions for reactive UI state
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
453 lines
24 KiB
HTML
453 lines
24 KiB
HTML
{# app/templates/admin/letzshop.html #}
|
|
{% extends "admin/base.html" %}
|
|
|
|
{% block title %}Letzshop Management{% endblock %}
|
|
|
|
{% block alpine_data %}adminLetzshop(){% endblock %}
|
|
|
|
{% block extra_scripts %}
|
|
<script src="/static/admin/js/letzshop.js"></script>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<!-- Page Header -->
|
|
<div class="flex items-center justify-between my-6">
|
|
<div>
|
|
<h2 class="text-2xl font-semibold text-gray-700 dark:text-gray-200">
|
|
Letzshop Management
|
|
</h2>
|
|
<p class="text-sm text-gray-600 dark:text-gray-400 mt-1">
|
|
Manage Letzshop integration for all vendors
|
|
</p>
|
|
</div>
|
|
<button
|
|
@click="refreshData()"
|
|
:disabled="loading"
|
|
class="flex items-center px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg hover:bg-purple-700 focus:outline-none focus:shadow-outline-purple disabled:opacity-50"
|
|
>
|
|
<span x-show="!loading" x-html="$icon('refresh', 'w-4 h-4 mr-2')"></span>
|
|
<span x-show="loading" x-html="$icon('spinner', 'w-4 h-4 mr-2')"></span>
|
|
<span x-text="loading ? 'Loading...' : 'Refresh'"></span>
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Success Message -->
|
|
<div x-show="successMessage" x-transition class="mb-6 p-4 bg-green-100 dark:bg-green-900/30 border border-green-400 dark:border-green-600 text-green-700 dark:text-green-300 rounded-lg flex items-start">
|
|
<span x-html="$icon('check-circle', 'w-5 h-5 mr-3 mt-0.5 flex-shrink-0')"></span>
|
|
<div>
|
|
<p class="font-semibold" x-text="successMessage"></p>
|
|
</div>
|
|
<button @click="successMessage = ''" class="ml-auto">
|
|
<span x-html="$icon('x', 'w-4 h-4')"></span>
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Error Message -->
|
|
<div x-show="error" x-transition class="mb-6 p-4 bg-red-100 dark:bg-red-900/30 border border-red-400 dark:border-red-600 text-red-700 dark:text-red-300 rounded-lg flex items-start">
|
|
<span x-html="$icon('exclamation', 'w-5 h-5 mr-3 mt-0.5 flex-shrink-0')"></span>
|
|
<div>
|
|
<p class="font-semibold">Error</p>
|
|
<p class="text-sm" x-text="error"></p>
|
|
</div>
|
|
<button @click="error = ''" class="ml-auto">
|
|
<span x-html="$icon('x', 'w-4 h-4')"></span>
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Summary Cards -->
|
|
<div class="grid gap-6 mb-8 md:grid-cols-4">
|
|
<!-- Total Vendors -->
|
|
<div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800">
|
|
<div class="p-3 mr-4 text-purple-500 bg-purple-100 rounded-full dark:bg-purple-900">
|
|
<span x-html="$icon('office-building', 'w-5 h-5')"></span>
|
|
</div>
|
|
<div>
|
|
<p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400">Total Vendors</p>
|
|
<p class="text-lg font-semibold text-gray-700 dark:text-gray-200" x-text="stats.total"></p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Configured -->
|
|
<div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800">
|
|
<div class="p-3 mr-4 text-green-500 bg-green-100 rounded-full dark:bg-green-900">
|
|
<span x-html="$icon('check-circle', 'w-5 h-5')"></span>
|
|
</div>
|
|
<div>
|
|
<p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400">Configured</p>
|
|
<p class="text-lg font-semibold text-gray-700 dark:text-gray-200" x-text="stats.configured"></p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Auto-Sync Enabled -->
|
|
<div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800">
|
|
<div class="p-3 mr-4 text-blue-500 bg-blue-100 rounded-full dark:bg-blue-900">
|
|
<span x-html="$icon('refresh', 'w-5 h-5')"></span>
|
|
</div>
|
|
<div>
|
|
<p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400">Auto-Sync</p>
|
|
<p class="text-lg font-semibold text-gray-700 dark:text-gray-200" x-text="stats.autoSync"></p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Pending Orders -->
|
|
<div class="flex items-center p-4 bg-white rounded-lg shadow-xs dark:bg-gray-800">
|
|
<div class="p-3 mr-4 text-orange-500 bg-orange-100 rounded-full dark:bg-orange-900">
|
|
<span x-html="$icon('clock', 'w-5 h-5')"></span>
|
|
</div>
|
|
<div>
|
|
<p class="mb-2 text-sm font-medium text-gray-600 dark:text-gray-400">Pending Orders</p>
|
|
<p class="text-lg font-semibold text-gray-700 dark:text-gray-200" x-text="stats.pendingOrders"></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Filters -->
|
|
<div class="mb-4 flex flex-wrap gap-4">
|
|
<label class="flex items-center">
|
|
<input
|
|
type="checkbox"
|
|
x-model="filters.configuredOnly"
|
|
@change="loadVendors()"
|
|
class="form-checkbox h-4 w-4 text-purple-600 rounded border-gray-300 dark:border-gray-600 dark:bg-gray-700"
|
|
/>
|
|
<span class="ml-2 text-sm text-gray-700 dark:text-gray-300">Configured only</span>
|
|
</label>
|
|
</div>
|
|
|
|
<!-- Vendors Table -->
|
|
<div class="w-full overflow-hidden rounded-lg shadow-xs">
|
|
<div class="w-full overflow-x-auto">
|
|
<table class="w-full whitespace-no-wrap">
|
|
<thead>
|
|
<tr class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b dark:border-gray-700 bg-gray-50 dark:text-gray-400 dark:bg-gray-800">
|
|
<th class="px-4 py-3">Vendor</th>
|
|
<th class="px-4 py-3">Status</th>
|
|
<th class="px-4 py-3">Auto-Sync</th>
|
|
<th class="px-4 py-3">Last Sync</th>
|
|
<th class="px-4 py-3">Orders</th>
|
|
<th class="px-4 py-3">Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="bg-white divide-y dark:divide-gray-700 dark:bg-gray-800">
|
|
<template x-if="loading && vendors.length === 0">
|
|
<tr>
|
|
<td colspan="6" class="px-4 py-8 text-center text-gray-500 dark:text-gray-400">
|
|
<span x-html="$icon('spinner', 'w-6 h-6 mx-auto mb-2')"></span>
|
|
<p>Loading vendors...</p>
|
|
</td>
|
|
</tr>
|
|
</template>
|
|
<template x-if="!loading && vendors.length === 0">
|
|
<tr>
|
|
<td colspan="6" class="px-4 py-8 text-center text-gray-500 dark:text-gray-400">
|
|
<span x-html="$icon('office-building', 'w-12 h-12 mx-auto mb-2 text-gray-300')"></span>
|
|
<p class="font-medium">No vendors found</p>
|
|
</td>
|
|
</tr>
|
|
</template>
|
|
<template x-for="vendor in vendors" :key="vendor.vendor_id">
|
|
<tr class="text-gray-700 dark:text-gray-400 hover:bg-gray-50 dark:hover:bg-gray-700">
|
|
<td class="px-4 py-3">
|
|
<div class="flex items-center text-sm">
|
|
<div class="relative hidden w-8 h-8 mr-3 rounded-full md:block">
|
|
<div class="absolute inset-0 rounded-full bg-purple-100 dark:bg-purple-900 flex items-center justify-center">
|
|
<span class="text-sm font-semibold text-purple-600 dark:text-purple-300" x-text="vendor.vendor_name.charAt(0).toUpperCase()"></span>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<p class="font-semibold" x-text="vendor.vendor_name"></p>
|
|
<p class="text-xs text-gray-500" x-text="vendor.vendor_code"></p>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="px-4 py-3 text-xs">
|
|
<span
|
|
class="px-2 py-1 font-semibold leading-tight rounded-full"
|
|
:class="vendor.is_configured ? 'text-green-700 bg-green-100 dark:bg-green-700 dark:text-green-100' : 'text-gray-700 bg-gray-100 dark:bg-gray-600 dark:text-gray-100'"
|
|
x-text="vendor.is_configured ? 'CONFIGURED' : 'NOT CONFIGURED'"
|
|
></span>
|
|
</td>
|
|
<td class="px-4 py-3 text-sm">
|
|
<span x-show="vendor.auto_sync_enabled" class="text-green-600 dark:text-green-400">
|
|
<span x-html="$icon('check', 'w-4 h-4 inline')"></span> Enabled
|
|
</span>
|
|
<span x-show="!vendor.auto_sync_enabled" class="text-gray-400">
|
|
<span x-html="$icon('x', 'w-4 h-4 inline')"></span> Disabled
|
|
</span>
|
|
</td>
|
|
<td class="px-4 py-3 text-sm">
|
|
<div x-show="vendor.last_sync_at">
|
|
<span
|
|
class="px-2 py-0.5 text-xs rounded-full"
|
|
:class="{
|
|
'bg-green-100 text-green-700': vendor.last_sync_status === 'success',
|
|
'bg-yellow-100 text-yellow-700': vendor.last_sync_status === 'partial',
|
|
'bg-red-100 text-red-700': vendor.last_sync_status === 'failed'
|
|
}"
|
|
x-text="vendor.last_sync_status"
|
|
></span>
|
|
<p class="text-xs text-gray-500 mt-1" x-text="formatDate(vendor.last_sync_at)"></p>
|
|
</div>
|
|
<span x-show="!vendor.last_sync_at" class="text-gray-400">Never</span>
|
|
</td>
|
|
<td class="px-4 py-3 text-sm">
|
|
<div class="flex items-center gap-2">
|
|
<span
|
|
class="px-2 py-0.5 text-xs rounded-full bg-orange-100 text-orange-700"
|
|
x-show="vendor.pending_orders > 0"
|
|
x-text="vendor.pending_orders + ' pending'"
|
|
></span>
|
|
<span class="text-gray-500" x-text="vendor.total_orders + ' total'"></span>
|
|
</div>
|
|
</td>
|
|
<td class="px-4 py-3">
|
|
<div class="flex items-center space-x-2 text-sm">
|
|
<button
|
|
@click="openConfigModal(vendor)"
|
|
class="flex items-center justify-center px-2 py-1 text-sm text-purple-600 transition-colors duration-150 rounded-md hover:bg-purple-100 dark:hover:bg-purple-900"
|
|
title="Configure"
|
|
>
|
|
<span x-html="$icon('cog', 'w-4 h-4')"></span>
|
|
</button>
|
|
<button
|
|
x-show="vendor.is_configured"
|
|
@click="testConnection(vendor)"
|
|
class="flex items-center justify-center px-2 py-1 text-sm text-blue-600 transition-colors duration-150 rounded-md hover:bg-blue-100 dark:hover:bg-blue-900"
|
|
title="Test Connection"
|
|
>
|
|
<span x-html="$icon('lightning-bolt', 'w-4 h-4')"></span>
|
|
</button>
|
|
<button
|
|
x-show="vendor.is_configured"
|
|
@click="triggerSync(vendor)"
|
|
class="flex items-center justify-center px-2 py-1 text-sm text-green-600 transition-colors duration-150 rounded-md hover:bg-green-100 dark:hover:bg-green-900"
|
|
title="Trigger Sync"
|
|
>
|
|
<span x-html="$icon('download', 'w-4 h-4')"></span>
|
|
</button>
|
|
<button
|
|
x-show="vendor.total_orders > 0"
|
|
@click="viewOrders(vendor)"
|
|
class="flex items-center justify-center px-2 py-1 text-sm text-gray-600 transition-colors duration-150 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700"
|
|
title="View Orders"
|
|
>
|
|
<span x-html="$icon('eye', 'w-4 h-4')"></span>
|
|
</button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</template>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- Pagination -->
|
|
<div x-show="totalVendors > limit" class="grid px-4 py-3 text-xs font-semibold tracking-wide text-gray-500 uppercase border-t dark:border-gray-700 bg-gray-50 sm:grid-cols-9 dark:text-gray-400 dark:bg-gray-800">
|
|
<span class="flex items-center col-span-3">
|
|
Showing <span x-text="((page - 1) * limit) + 1"></span>-<span x-text="Math.min(page * limit, totalVendors)"></span> of <span x-text="totalVendors"></span>
|
|
</span>
|
|
<span class="col-span-2"></span>
|
|
<span class="flex col-span-4 mt-2 sm:mt-auto sm:justify-end">
|
|
<nav>
|
|
<ul class="inline-flex items-center">
|
|
<li>
|
|
<button @click="page--; loadVendors()" :disabled="page <= 1" class="px-3 py-1 rounded-md disabled:opacity-50">
|
|
<span x-html="$icon('chevron-left', 'w-4 h-4')"></span>
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button @click="page++; loadVendors()" :disabled="page * limit >= totalVendors" class="px-3 py-1 rounded-md disabled:opacity-50">
|
|
<span x-html="$icon('chevron-right', 'w-4 h-4')"></span>
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Configuration Modal -->
|
|
<div
|
|
x-show="showConfigModal"
|
|
x-transition:enter="transition ease-out duration-150"
|
|
x-transition:enter-start="opacity-0"
|
|
x-transition:enter-end="opacity-100"
|
|
x-transition:leave="transition ease-in duration-150"
|
|
x-transition:leave-start="opacity-100"
|
|
x-transition:leave-end="opacity-0"
|
|
class="fixed inset-0 z-30 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center"
|
|
@click.self="showConfigModal = false"
|
|
>
|
|
<div
|
|
x-transition:enter="transition ease-out duration-150"
|
|
x-transition:enter-start="opacity-0 transform translate-y-1/2"
|
|
x-transition:enter-end="opacity-100"
|
|
x-transition:leave="transition ease-in duration-150"
|
|
x-transition:leave-start="opacity-100"
|
|
x-transition:leave-end="opacity-0 transform translate-y-1/2"
|
|
class="w-full px-6 py-4 overflow-hidden bg-white rounded-t-lg dark:bg-gray-800 sm:rounded-lg sm:m-4 sm:max-w-lg"
|
|
@click.stop
|
|
>
|
|
<header class="flex justify-between items-center mb-4">
|
|
<h3 class="text-lg font-semibold text-gray-700 dark:text-gray-200">
|
|
Configure Letzshop - <span x-text="selectedVendor?.vendor_name"></span>
|
|
</h3>
|
|
<button @click="showConfigModal = false" class="text-gray-400 hover:text-gray-600">
|
|
<span x-html="$icon('x', 'w-5 h-5')"></span>
|
|
</button>
|
|
</header>
|
|
|
|
<form @submit.prevent="saveVendorConfig()">
|
|
<div class="space-y-4 mb-6">
|
|
<!-- API Key -->
|
|
<div>
|
|
<label class="block text-sm font-medium text-gray-700 dark:text-gray-400 mb-2">
|
|
API Key <span x-show="!vendorCredentials" class="text-red-500">*</span>
|
|
</label>
|
|
<div class="relative">
|
|
<input
|
|
:type="showApiKey ? 'text' : 'password'"
|
|
x-model="configForm.api_key"
|
|
:placeholder="vendorCredentials ? vendorCredentials.api_key_masked : 'Enter API key'"
|
|
class="block w-full px-3 py-2 pr-10 text-sm text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-md focus:border-purple-400 focus:outline-none"
|
|
/>
|
|
<button type="button" @click="showApiKey = !showApiKey" class="absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400">
|
|
<span x-html="$icon(showApiKey ? 'eye-off' : 'eye', 'w-4 h-4')"></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Auto Sync -->
|
|
<div>
|
|
<label class="flex items-center cursor-pointer">
|
|
<input
|
|
type="checkbox"
|
|
x-model="configForm.auto_sync_enabled"
|
|
class="form-checkbox h-5 w-5 text-purple-600 rounded border-gray-300 dark:border-gray-600 dark:bg-gray-700"
|
|
/>
|
|
<span class="ml-3 text-sm font-medium text-gray-700 dark:text-gray-400">Enable Auto-Sync</span>
|
|
</label>
|
|
</div>
|
|
|
|
<!-- Sync Interval -->
|
|
<div x-show="configForm.auto_sync_enabled">
|
|
<label class="block text-sm font-medium text-gray-700 dark:text-gray-400 mb-2">
|
|
Sync Interval
|
|
</label>
|
|
<select
|
|
x-model="configForm.sync_interval_minutes"
|
|
class="block w-full px-3 py-2 text-sm text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-md focus:border-purple-400 focus:outline-none"
|
|
>
|
|
<option value="15">Every 15 minutes</option>
|
|
<option value="30">Every 30 minutes</option>
|
|
<option value="60">Every hour</option>
|
|
<option value="120">Every 2 hours</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flex justify-between">
|
|
<button
|
|
type="button"
|
|
x-show="vendorCredentials"
|
|
@click="deleteVendorConfig()"
|
|
class="px-4 py-2 text-sm font-medium text-red-600 border border-red-300 rounded-lg hover:bg-red-50 dark:hover:bg-red-900/20"
|
|
>
|
|
Remove
|
|
</button>
|
|
<div class="flex gap-3 ml-auto">
|
|
<button
|
|
type="button"
|
|
@click="showConfigModal = false"
|
|
class="px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg hover:bg-gray-50"
|
|
>
|
|
Cancel
|
|
</button>
|
|
<button
|
|
type="submit"
|
|
:disabled="savingConfig"
|
|
class="flex items-center px-4 py-2 text-sm font-medium text-white bg-purple-600 rounded-lg hover:bg-purple-700 disabled:opacity-50"
|
|
>
|
|
<span x-show="savingConfig" x-html="$icon('spinner', 'w-4 h-4 mr-2')"></span>
|
|
<span x-text="savingConfig ? 'Saving...' : 'Save'"></span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Orders Modal -->
|
|
<div
|
|
x-show="showOrdersModal"
|
|
x-transition:enter="transition ease-out duration-150"
|
|
x-transition:enter-start="opacity-0"
|
|
x-transition:enter-end="opacity-100"
|
|
x-transition:leave="transition ease-in duration-150"
|
|
x-transition:leave-start="opacity-100"
|
|
x-transition:leave-end="opacity-0"
|
|
class="fixed inset-0 z-30 flex items-end bg-black bg-opacity-50 sm:items-center sm:justify-center"
|
|
@click.self="showOrdersModal = false"
|
|
>
|
|
<div
|
|
x-transition:enter="transition ease-out duration-150"
|
|
x-transition:enter-start="opacity-0 transform translate-y-1/2"
|
|
x-transition:enter-end="opacity-100"
|
|
x-transition:leave="transition ease-in duration-150"
|
|
x-transition:leave-start="opacity-100"
|
|
x-transition:leave-end="opacity-0 transform translate-y-1/2"
|
|
class="w-full px-6 py-4 overflow-hidden bg-white rounded-t-lg dark:bg-gray-800 sm:rounded-lg sm:m-4 sm:max-w-4xl max-h-[80vh] overflow-y-auto"
|
|
@click.stop
|
|
>
|
|
<header class="flex justify-between items-center mb-4">
|
|
<h3 class="text-lg font-semibold text-gray-700 dark:text-gray-200">
|
|
Orders - <span x-text="selectedVendor?.vendor_name"></span>
|
|
</h3>
|
|
<button @click="showOrdersModal = false" class="text-gray-400 hover:text-gray-600">
|
|
<span x-html="$icon('x', 'w-5 h-5')"></span>
|
|
</button>
|
|
</header>
|
|
|
|
<div x-show="loadingOrders" class="py-8 text-center">
|
|
<span x-html="$icon('spinner', 'w-6 h-6 mx-auto')"></span>
|
|
</div>
|
|
|
|
<div x-show="!loadingOrders">
|
|
<table class="w-full text-sm">
|
|
<thead>
|
|
<tr class="text-left text-gray-500 border-b dark:border-gray-700">
|
|
<th class="pb-2">Order</th>
|
|
<th class="pb-2">Customer</th>
|
|
<th class="pb-2">Total</th>
|
|
<th class="pb-2">Status</th>
|
|
<th class="pb-2">Date</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="divide-y dark:divide-gray-700">
|
|
<template x-for="order in vendorOrders" :key="order.id">
|
|
<tr class="text-gray-700 dark:text-gray-400">
|
|
<td class="py-2" x-text="order.letzshop_order_number || order.letzshop_order_id"></td>
|
|
<td class="py-2" x-text="order.customer_email || 'N/A'"></td>
|
|
<td class="py-2" x-text="order.total_amount ? order.total_amount + ' ' + order.currency : 'N/A'"></td>
|
|
<td class="py-2">
|
|
<span
|
|
class="px-2 py-0.5 text-xs rounded-full"
|
|
:class="{
|
|
'bg-orange-100 text-orange-700': order.sync_status === 'pending',
|
|
'bg-green-100 text-green-700': order.sync_status === 'confirmed',
|
|
'bg-red-100 text-red-700': order.sync_status === 'rejected',
|
|
'bg-blue-100 text-blue-700': order.sync_status === 'shipped'
|
|
}"
|
|
x-text="order.sync_status"
|
|
></span>
|
|
</td>
|
|
<td class="py-2" x-text="formatDate(order.created_at)"></td>
|
|
</tr>
|
|
</template>
|
|
</tbody>
|
|
</table>
|
|
<p x-show="vendorOrders.length === 0" class="py-4 text-center text-gray-500">No orders found</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|