Spaces:
Running
Running
# تصميم صفحة تفاصيل الطلب - نظام Conversena ## السياق العام صمم صفحة تفاصيل الطلب (`/orders/:id`) لنظام Conversena - وهو نظام إدارة التجارة الإلكترونية التحادثية. هذه الصفحة يتم الوصول إليها من خلال: 1. النقر على "الطلبات" في الشريط الجانبي 2. عرض جدول الطلبات في صفحة نظرة عامة على الطلبات 3. النقر على طلب محدد لعرض تفاصيله ## المتطلبات الوظيفية المطلوبة ### البيانات الأساسية للطلب - **معرف الطلب**: رقم فريد للطلب - **حالة الطلب**: (جديد، قيد المعالجة، مشحون، مُسلم، ملغى، عالق) - **تاريخ الطلب**: تاريخ ووقت إنشاء الطلب - **قيمة الطلب الإجمالية**: المبلغ الإجمالي بالعملة المحلية - **قناة الطلب**: (فيسبوك، إنستغرام، واتساب، متجر فعلي) - **رقم التتبع**: رقم تتبع الشحنة (إن وجد) ### معلومات العميل - **اسم العميل**: الاسم الكامل - **رقم الهاتف**: رقم الهاتف مع إمكانية الاتصال المباشر - **العنوان**: العنوان الكامل للتسليم - **المدينة/المنطقة**: الموقع الجغرافي ### تفاصيل المنتجات - **جدول المنتجات**: يعرض لكل منتج: - صورة المنتج - اسم المنتج - المتغيرات (اللون، الحجم، النوع) - السعر الفردي - الكمية - الإجمالي الفرعي - **ملخص الأسعار**: - المجموع الفرعي - رسوم الشحن - الضرائب (إن وجدت) - الخصم (إن وجد) - **الإجمالي النهائي** ### إدارة الطلب - **تحرير الطلب**: إمكانية تعديل تفاصيل الطلب قبل الشحن - **تحديث الحالة**: تغيير حالة الطلب يدوياً - **إضافة ملاحظات**: ملاحظات داخلية للفريق - **إلغاء الطلب**: إلغاء الطلب مع استرداد المخزون - **طباعة الطلب**: طباعة فاتورة أو إيصال الطلب ### تتبع الشحنة - **معلومات الشحنة**: شركة الشحن، رقم التتبع، تاريخ الشحن - **تتبع الحالة**: عرض حالة الشحنة الحالية - **تاريخ الأحداث**: سجل أحداث الشحنة والتسليم - **إشعارات العميل**: إرسال تحديثات للعميل ## التصميم والواجهة ### التخطيط العام - **هيكل الصفحة**: تخطيط شبكي مع العناصر المنظمة في بطاقات (cards) - **الألوان**: استخدم لوحة ألوان احترافية (الأزرق الأساسي، الرمادي، الأخضر للنجاح، الأحمر للتحذير) - **الخطوط**: استخدم خطوط عربية واضحة ومقروءة - **الاتجاه**: RTL (من اليمين إلى اليسار) للغة العربية ### عناصر الواجهة - **العنوان الرئيسي**: "تفاصيل الطلب #[رقم الطلب]" - **شارات الحالة**: استخدم ألوان مختلفة لكل حالة (أخضر للمُسلم، أزرق للمعالجة، أحمر للملغى) - **أزرار العمل**: أزرار واضحة للإجراءات المختلفة - **نماذج التحرير**: نماذج منبثقة أو قابلة للتوسع للتحرير ### المكونات المطلوبة #### 1. رأس الصفحة ``` عنوان: "تفاصيل الطلب #12345" شارة الحالة: [مُسلم] (بلون أخضر) تاريخ الطلب: 15 يناير 2025 - 2:30 مساءً أزرار سريعة: [تحرير] [طباعة] [إلغاء] ``` #### 2. معلومات العميل (بطاقة) ``` أيقونة العميل + "معلومات العميل" الاسم: أحمد محمد علي الهاتف: +970-599-123456 [أيقونة اتصال] العنوان: شارع الجامعة، رام الله، فلسطين القناة: واتساب [أيقونة واتساب] ``` #### 3. تفاصيل المنتجات (جدول) ``` جدول يحتوي على: - عمود الصورة (صور مصغرة) - عمود المنتج (اسم + متغيرات) - عمود السعر - عمود الكمية - عمود الإجمالي + صف الملخص النهائي ``` #### 4. معلومات الشحن (بطاقة) ``` أيقونة الشحن + "معلومات الشحن" الحالة: تم التسليم رقم التتبع: TR123456789 شركة الشحن: فيدكس الشرق الأوسط تاريخ الشحن: 16 يناير 2025 تاريخ التسليم: 18 يناير 2025 ``` #### 5. سجل الأحداث (timeline) ``` خط زمني يعرض: - إنشاء الطلب - تأكيد الطلب - بدء التحضير - الشحن - التسليم مع الأوقات والتواريخ لكل حدث ``` ### الوظائف التفاعلية #### التحرير المباشر - إمكانية تحرير عنوان العميل - تعديل كميات المنتجات - إضافة/حذف منتجات - تحديث رسوم الشحن #### الإجراءات السريعة - **حفظ التغييرات**: حفظ التعديلات مع تأكيد - **إرسال تحديث للعميل**: إشعار العميل بالتحديث - **طباعة الفاتورة**: طباعة نسخة مطبوعة - **تصدير البيانات**: تصدير تفاصيل الطلب ### التحقق من الصحة - **التحقق من المخزون**: عند تعديل الكميات - **التحقق من تنسيق البيانات**: للعناوين وأرقام الهواتف - **تأكيد الحذف**: عند إلغاء الطلب ### الاستجابة للأجهزة - **الحاسوب**: عرض كامل مع جميع التفاصيل - **التابلت**: تخطيط متكيف مع الحفاظ على الوضوح - **الهاتف**: عرض مكدس مع أقسام قابلة للطي ### حالات الخطأ والتحديات - **طلب غير موجود**: عرض رسالة خطأ واضحة - **صلاحيات محدودة**: إخفاء أزرار التحرير للمستخدمين غير المخولين - **مشاكل الشبكة**: عرض رسائل تحميل وإعادة المحاولة ## التطبيق التقني ### التكنولوجيا المطلوبة - **React**: لبناء واجهة المستخدم - **Tailwind CSS**: للتصميم والتنسيق - **RTL Support**: دعم الكتابة من اليمين إلى اليسار - **Responsive Design**: تصميم متجاوب لجميع الأجهزة ### المكونات المطلوبة - `OrderHeader`: رأس الصفحة مع معلومات الطلب الأساسية - `CustomerInfo`: بطاقة معلومات العميل - `ProductTable`: جدول المنتجات مع الأسعار - `ShippingInfo`: معلومات الشحن والتتبع - `OrderTimeline`: الخط الزمني للأحداث - `ActionButtons`: أزرار الإجراءات السريعة - `EditModal`: نافذة منبثقة للتحرير ### أمثلة على التفاعل 1. **عند النقر على "تحرير"**: فتح نمط التحرير المباشر 2. **عند تغيير الكمية**: إعادة حساب الأسعار فورياً 3. **عند النقر على رقم الهاتف**: فتح تطبيق المكالمات 4. **عند النقر على رقم التتبع**: فتح صفحة تتبع الشحنة ## الهدف النهائي إنشاء صفحة تفاصيل طلب شاملة وسهلة الاستخدام تمكن مديري الأعمال من: - عرض جميع تفاصيل الطلب بوضوح - تحرير الطلبات بسهولة وأمان - تتبع حالة الشحن والتسليم - إدارة علاقات العملاء بكفاءة - اتخاذ قرارات سريعة بناءً على البيانات المعروضة تأكد من أن التصميم يركز على الوضوح والسهولة والكفاءة في الاستخدام، مع الحفاظ على الطابع المهني المطلوب لنظام إدارة الأعمال. - Initial Deployment
Browse files- README.md +7 -5
- index.html +396 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: fourthproject
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,396 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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YPE html>
|
| 2 |
+
<html lang="ar" dir="rtl">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>تفاصيل الطلب - Conversena</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Tajawal', sans-serif;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.timeline {
|
| 17 |
+
position: relative;
|
| 18 |
+
padding-right: 2rem;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.timeline::before {
|
| 22 |
+
content: '';
|
| 23 |
+
position: absolute;
|
| 24 |
+
top: 0;
|
| 25 |
+
right: 10px;
|
| 26 |
+
height: 100%;
|
| 27 |
+
width: 2px;
|
| 28 |
+
background: #e5e7eb;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.timeline-item::before {
|
| 32 |
+
content: '';
|
| 33 |
+
position: absolute;
|
| 34 |
+
top: 4px;
|
| 35 |
+
right: 0;
|
| 36 |
+
width: 12px;
|
| 37 |
+
height: 12px;
|
| 38 |
+
border-radius: 50%;
|
| 39 |
+
background: #3b82f6;
|
| 40 |
+
border: 2px solid white;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.timeline-item.completed::before {
|
| 44 |
+
background: #10b981;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.timeline-item.cancelled::before {
|
| 48 |
+
background: #ef4444;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.timeline-item.pending::before {
|
| 52 |
+
background: #f59e0b;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.product-image {
|
| 56 |
+
width: 60px;
|
| 57 |
+
height: 60px;
|
| 58 |
+
object-fit: cover;
|
| 59 |
+
border-radius: 0.5rem;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
@media (max-width: 768px) {
|
| 63 |
+
.timeline::before {
|
| 64 |
+
right: 5px;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.product-image {
|
| 68 |
+
width: 40px;
|
| 69 |
+
height: 40px;
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
</style>
|
| 73 |
+
</head>
|
| 74 |
+
<body class="bg-gray-50 text-gray-800">
|
| 75 |
+
<div class="container mx-auto px-4 py-8">
|
| 76 |
+
<!-- Order Header -->
|
| 77 |
+
<div class="bg-white rounded-xl shadow-md p-6 mb-6">
|
| 78 |
+
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4">
|
| 79 |
+
<div>
|
| 80 |
+
<h1 class="text-2xl font-bold text-gray-800">تفاصيل الطلب #ORD-2023-4567</h1>
|
| 81 |
+
<div class="flex items-center mt-2">
|
| 82 |
+
<span class="px-3 py-1 rounded-full text-sm font-medium bg-green-100 text-green-800">
|
| 83 |
+
<i class="fas fa-check-circle mr-1"></i> تم التسليم
|
| 84 |
+
</span>
|
| 85 |
+
<span class="mr-3 text-gray-500 text-sm">
|
| 86 |
+
<i class="far fa-clock mr-1"></i> 15 يناير 2025 - 2:30 مساءً
|
| 87 |
+
</span>
|
| 88 |
+
</div>
|
| 89 |
+
</div>
|
| 90 |
+
<div class="flex flex-wrap gap-2">
|
| 91 |
+
<button class="px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg flex items-center">
|
| 92 |
+
<i class="fas fa-edit ml-2"></i> تحرير
|
| 93 |
+
</button>
|
| 94 |
+
<button class="px-4 py-2 bg-gray-200 hover:bg-gray-300 text-gray-800 rounded-lg flex items-center">
|
| 95 |
+
<i class="fas fa-print ml-2"></i> طباعة
|
| 96 |
+
</button>
|
| 97 |
+
<button class="px-4 py-2 bg-red-100 hover:bg-red-200 text-red-800 rounded-lg flex items-center">
|
| 98 |
+
<i class="fas fa-times-circle ml-2"></i> إلغاء
|
| 99 |
+
</button>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
|
| 103 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mt-6">
|
| 104 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 105 |
+
<h3 class="font-medium text-gray-700 mb-2">معلومات الدفع</h3>
|
| 106 |
+
<p class="text-sm text-gray-600">طريقة الدفع: <span class="text-gray-800">الدفع عند الاستلام</span></p>
|
| 107 |
+
<p class="text-sm text-gray-600">حالة الدفع: <span class="text-green-600">مدفوع</span></p>
|
| 108 |
+
</div>
|
| 109 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 110 |
+
<h3 class="font-medium text-gray-700 mb-2">قناة الطلب</h3>
|
| 111 |
+
<p class="text-sm text-gray-600 flex items-center">
|
| 112 |
+
<i class="fab fa-whatsapp text-green-500 text-lg ml-2"></i> واتساب
|
| 113 |
+
</p>
|
| 114 |
+
</div>
|
| 115 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 116 |
+
<h3 class="font-medium text-gray-700 mb-2">القيمة الإجمالية</h3>
|
| 117 |
+
<p class="text-xl font-bold text-blue-600">245.75 ₪</p>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
|
| 122 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
| 123 |
+
<!-- Left Column -->
|
| 124 |
+
<div class="lg:col-span-2 space-y-6">
|
| 125 |
+
<!-- Customer Info -->
|
| 126 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 127 |
+
<div class="flex items-center mb-4">
|
| 128 |
+
<div class="bg-blue-100 p-3 rounded-full text-blue-600">
|
| 129 |
+
<i class="fas fa-user text-lg"></i>
|
| 130 |
+
</div>
|
| 131 |
+
<h2 class="text-xl font-bold mr-3">معلومات العميل</h2>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 135 |
+
<div>
|
| 136 |
+
<p class="text-sm text-gray-500">الاسم الكامل</p>
|
| 137 |
+
<p class="font-medium">أحمد محمد علي</p>
|
| 138 |
+
</div>
|
| 139 |
+
<div>
|
| 140 |
+
<p class="text-sm text-gray-500">رقم الهاتف</p>
|
| 141 |
+
<div class="flex items-center">
|
| 142 |
+
<p class="font-medium">+970-599-123456</p>
|
| 143 |
+
<a href="tel:+970599123456" class="mr-2 text-blue-600 hover:text-blue-800">
|
| 144 |
+
<i class="fas fa-phone-alt"></i>
|
| 145 |
+
</a>
|
| 146 |
+
<a href="https://wa.me/970599123456" class="text-green-500 hover:text-green-700">
|
| 147 |
+
<i class="fab fa-whatsapp"></i>
|
| 148 |
+
</a>
|
| 149 |
+
</div>
|
| 150 |
+
</div>
|
| 151 |
+
<div class="md:col-span-2">
|
| 152 |
+
<p class="text-sm text-gray-500">العنوان</p>
|
| 153 |
+
<p class="font-medium">شارع الجامعة، عمارة النخيل، الطابق الثالث، شقة 12، رام الله، فلسطين</p>
|
| 154 |
+
</div>
|
| 155 |
+
<div>
|
| 156 |
+
<p class="text-sm text-gray-500">ملاحظات العميل</p>
|
| 157 |
+
<p class="font-medium text-gray-600">الرجاء التسليم بعد الساعة 5 مساءً</p>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
|
| 162 |
+
<!-- Products Table -->
|
| 163 |
+
<div class="bg-white rounded-xl shadow-md p-6 overflow-x-auto">
|
| 164 |
+
<div class="flex items-center mb-4">
|
| 165 |
+
<div class="bg-purple-100 p-3 rounded-full text-purple-600">
|
| 166 |
+
<i class="fas fa-shopping-bag text-lg"></i>
|
| 167 |
+
</div>
|
| 168 |
+
<h2 class="text-xl font-bold mr-3">المنتجات المطلوبة</h2>
|
| 169 |
+
</div>
|
| 170 |
+
|
| 171 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 172 |
+
<thead class="bg-gray-50">
|
| 173 |
+
<tr>
|
| 174 |
+
<th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">المنتج</th>
|
| 175 |
+
<th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">السعر</th>
|
| 176 |
+
<th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">الكمية</th>
|
| 177 |
+
<th class="px-4 py-3 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">الإجمالي</th>
|
| 178 |
+
</tr>
|
| 179 |
+
</thead>
|
| 180 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 181 |
+
<tr>
|
| 182 |
+
<td class="px-4 py-4">
|
| 183 |
+
<div class="flex items-center">
|
| 184 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="product-image">
|
| 185 |
+
<div class="mr-3">
|
| 186 |
+
<p class="font-medium">حذاء رياضي رجالي</p>
|
| 187 |
+
<p class="text-sm text-gray-500">اللون: أزرق - المقاس: 42</p>
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
</td>
|
| 191 |
+
<td class="px-4 py-4 font-medium">120.00 ₪</td>
|
| 192 |
+
<td class="px-4 py-4">1</td>
|
| 193 |
+
<td class="px-4 py-4 font-medium">120.00 ₪</td>
|
| 194 |
+
</tr>
|
| 195 |
+
<tr>
|
| 196 |
+
<td class="px-4 py-4">
|
| 197 |
+
<div class="flex items-center">
|
| 198 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="product-image">
|
| 199 |
+
<div class="mr-3">
|
| 200 |
+
<p class="font-medium">قميص قطني</p>
|
| 201 |
+
<p class="text-sm text-gray-500">اللون: أبيض - المقاس: L</p>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
</td>
|
| 205 |
+
<td class="px-4 py-4 font-medium">75.50 ₪</td>
|
| 206 |
+
<td class="px-4 py-4">1</td>
|
| 207 |
+
<td class="px-4 py-4 font-medium">75.50 ₪</td>
|
| 208 |
+
</tr>
|
| 209 |
+
<tr>
|
| 210 |
+
<td class="px-4 py-4">
|
| 211 |
+
<div class="flex items-center">
|
| 212 |
+
<img src="https://via.placeholder.com/150" alt="Product" class="product-image">
|
| 213 |
+
<div class="mr-3">
|
| 214 |
+
<p class="font-medium">جوارب رياضية</p>
|
| 215 |
+
<p class="text-sm text-gray-500">اللون: أسود</p>
|
| 216 |
+
</div>
|
| 217 |
+
</div>
|
| 218 |
+
</td>
|
| 219 |
+
<td class="px-4 py-4 font-medium">25.25 ₪</td>
|
| 220 |
+
<td class="px-4 py-4">2</td>
|
| 221 |
+
<td class="px-4 py-4 font-medium">50.50 ₪</td>
|
| 222 |
+
</tr>
|
| 223 |
+
</tbody>
|
| 224 |
+
</table>
|
| 225 |
+
|
| 226 |
+
<div class="mt-6 border-t pt-4">
|
| 227 |
+
<div class="flex justify-between mb-2">
|
| 228 |
+
<span>المجموع الفرعي:</span>
|
| 229 |
+
<span class="font-medium">246.00 ₪</span>
|
| 230 |
+
</div>
|
| 231 |
+
<div class="flex justify-between mb-2 text-green-600">
|
| 232 |
+
<span>الخصم:</span>
|
| 233 |
+
<span class="font-medium">-10.00 ₪</span>
|
| 234 |
+
</div>
|
| 235 |
+
<div class="flex justify-between mb-2">
|
| 236 |
+
<span>رسوم الشحن:</span>
|
| 237 |
+
<span class="font-medium">15.00 ₪</span>
|
| 238 |
+
</div>
|
| 239 |
+
<div class="flex justify-between mb-2">
|
| 240 |
+
<span>الضريبة:</span>
|
| 241 |
+
<span class="font-medium">5.25 ₪</span>
|
| 242 |
+
</div>
|
| 243 |
+
<div class="flex justify-between mt-4 pt-3 border-t text-lg font-bold">
|
| 244 |
+
<span>الإجمالي النهائي:</span>
|
| 245 |
+
<span class="text-blue-600">245.75 ₪</span>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
</div>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<!-- Right Column -->
|
| 252 |
+
<div class="space-y-6">
|
| 253 |
+
<!-- Shipping Info -->
|
| 254 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 255 |
+
<div class="flex items-center mb-4">
|
| 256 |
+
<div class="bg-green-100 p-3 rounded-full text-green-600">
|
| 257 |
+
<i class="fas fa-truck text-lg"></i>
|
| 258 |
+
</div>
|
| 259 |
+
<h2 class="text-xl font-bold mr-3">معلومات الشحن</h2>
|
| 260 |
+
</div>
|
| 261 |
+
|
| 262 |
+
<div class="space-y-3">
|
| 263 |
+
<div>
|
| 264 |
+
<p class="text-sm text-gray-500">شركة الشحن</p>
|
| 265 |
+
<p class="font-medium">فيدكس الشرق الأوسط</p>
|
| 266 |
+
</div>
|
| 267 |
+
<div>
|
| 268 |
+
<p class="text-sm text-gray-500">رقم التتبع</p>
|
| 269 |
+
<div class="flex items-center">
|
| 270 |
+
<p class="font-medium">TR123456789</p>
|
| 271 |
+
<a href="#" class="mr-2 text-blue-600 hover:text-blue-800">
|
| 272 |
+
<i class="fas fa-external-link-alt text-sm"></i>
|
| 273 |
+
</a>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
<div>
|
| 277 |
+
<p class="text-sm text-gray-500">تاريخ الشحن</p>
|
| 278 |
+
<p class="font-medium">16 يناير 2025</p>
|
| 279 |
+
</div>
|
| 280 |
+
<div>
|
| 281 |
+
<p class="text-sm text-gray-500">تاريخ التسليم</p>
|
| 282 |
+
<p class="font-medium text-green-600">18 يناير 2025</p>
|
| 283 |
+
</div>
|
| 284 |
+
<div>
|
| 285 |
+
<p class="text-sm text-gray-500">عنوان التسليم</p>
|
| 286 |
+
<p class="font-medium">شارع الجامعة، رام الله، فلسطين</p>
|
| 287 |
+
</div>
|
| 288 |
+
</div>
|
| 289 |
+
</div>
|
| 290 |
+
|
| 291 |
+
<!-- Order Timeline -->
|
| 292 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 293 |
+
<div class="flex items-center mb-4">
|
| 294 |
+
<div class="bg-yellow-100 p-3 rounded-full text-yellow-600">
|
| 295 |
+
<i class="fas fa-history text-lg"></i>
|
| 296 |
+
</div>
|
| 297 |
+
<h2 class="text-xl font-bold mr-3">سجل الطلب</h2>
|
| 298 |
+
</div>
|
| 299 |
+
|
| 300 |
+
<div class="timeline space-y-4">
|
| 301 |
+
<div class="timeline-item relative pl-8 completed">
|
| 302 |
+
<h4 class="font-medium text-green-600">تم التسليم</h4>
|
| 303 |
+
<p class="text-sm text-gray-500">18 يناير 2025 - 3:45 مساءً</p>
|
| 304 |
+
<p class="text-sm mt-1">تم تسليم الطلب للعميل</p>
|
| 305 |
+
</div>
|
| 306 |
+
<div class="timeline-item relative pl-8 completed">
|
| 307 |
+
<h4 class="font-medium">تم الشحن</h4>
|
| 308 |
+
<p class="text-sm text-gray-500">16 يناير 2025 - 11:20 صباحاً</p>
|
| 309 |
+
<p class="text-sm mt-1">تم تسليم الشحنة لشركة النقل</p>
|
| 310 |
+
</div>
|
| 311 |
+
<div class="timeline-item relative pl-8 completed">
|
| 312 |
+
<h4 class="font-medium">تم تجهيز الطلب</h4>
|
| 313 |
+
<p class="text-sm text-gray-500">15 يناير 2025 - 5:15 مساءً</p>
|
| 314 |
+
<p class="text-sm mt-1">تم تجهيز جميع المنتجات للتغليف</p>
|
| 315 |
+
</div>
|
| 316 |
+
<div class="timeline-item relative pl-8 completed">
|
| 317 |
+
<h4 class="font-medium">تم تأكيد الطلب</h4>
|
| 318 |
+
<p class="text-sm text-gray-500">15 يناير 2025 - 3:00 مساءً</p>
|
| 319 |
+
<p class="text-sm mt-1">تم التحقق من صحة الطلب والدفع</p>
|
| 320 |
+
</div>
|
| 321 |
+
<div class="timeline-item relative pl-8 completed">
|
| 322 |
+
<h4 class="font-medium">تم إنشاء الطلب</h4>
|
| 323 |
+
<p class="text-sm text-gray-500">15 يناير 2025 - 2:30 مساءً</p>
|
| 324 |
+
<p class="text-sm mt-1">قام العميل بإتمام الطلب عبر واتساب</p>
|
| 325 |
+
</div>
|
| 326 |
+
</div>
|
| 327 |
+
</div>
|
| 328 |
+
|
| 329 |
+
<!-- Order Notes -->
|
| 330 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 331 |
+
<div class="flex items-center mb-4">
|
| 332 |
+
<div class="bg-indigo-100 p-3 rounded-full text-indigo-600">
|
| 333 |
+
<i class="fas fa-sticky-note text-lg"></i>
|
| 334 |
+
</div>
|
| 335 |
+
<h2 class="text-xl font-bold mr-3">ملاحظات الطلب</h2>
|
| 336 |
+
</div>
|
| 337 |
+
|
| 338 |
+
<div class="space-y-4">
|
| 339 |
+
<div class="bg-gray-50 p-3 rounded-lg">
|
| 340 |
+
<div class="flex justify-between items-start">
|
| 341 |
+
<p class="font-medium">أحمد (خدمة العملاء)</p>
|
| 342 |
+
<span class="text-xs text-gray-500">اليوم - 10:30 ص</span>
|
| 343 |
+
</div>
|
| 344 |
+
<p class="mt-1 text-sm">العميل طلب تغيير عنوان التسليم، تم التحديث في النظام</p>
|
| 345 |
+
</div>
|
| 346 |
+
<div class="bg-gray-50 p-3 rounded-lg">
|
| 347 |
+
<div class="flex justify-between items-start">
|
| 348 |
+
<p class="font-medium">محمد (المخزن)</p>
|
| 349 |
+
<span class="text-xs text-gray-500">أمس - 4:15 م</span>
|
| 350 |
+
</div>
|
| 351 |
+
<p class="mt-1 text-sm">تم تجهيز الطلب وجاهز للشحن غداً</p>
|
| 352 |
+
</div>
|
| 353 |
+
|
| 354 |
+
<div class="mt-4">
|
| 355 |
+
<textarea class="w-full border rounded-lg p-3 text-sm focus:ring-2 focus:ring-blue-500 focus:border-blue-500" rows="3" placeholder="إضافة ملاحظة جديدة..."></textarea>
|
| 356 |
+
<button class="mt-2 px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg text-sm">
|
| 357 |
+
حفظ الملاحظة
|
| 358 |
+
</button>
|
| 359 |
+
</div>
|
| 360 |
+
</div>
|
| 361 |
+
</div>
|
| 362 |
+
</div>
|
| 363 |
+
</div>
|
| 364 |
+
</div>
|
| 365 |
+
|
| 366 |
+
<script>
|
| 367 |
+
// You can add JavaScript functionality here
|
| 368 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 369 |
+
// Example: Print button functionality
|
| 370 |
+
const printButton = document.querySelector('button:has(.fa-print)');
|
| 371 |
+
if (printButton) {
|
| 372 |
+
printButton.addEventListener('click', function() {
|
| 373 |
+
window.print();
|
| 374 |
+
});
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
// Example: Phone call button
|
| 378 |
+
const phoneButtons = document.querySelectorAll('a[href^="tel:"]');
|
| 379 |
+
phoneButtons.forEach(button => {
|
| 380 |
+
button.addEventListener('click', function(e) {
|
| 381 |
+
// You can add analytics or confirmation here
|
| 382 |
+
console.log('Calling customer...');
|
| 383 |
+
});
|
| 384 |
+
});
|
| 385 |
+
|
| 386 |
+
// Example: WhatsApp button
|
| 387 |
+
const whatsappButtons = document.querySelectorAll('a[href^="https://wa.me/"]');
|
| 388 |
+
whatsappButtons.forEach(button => {
|
| 389 |
+
button.addEventListener('click', function(e) {
|
| 390 |
+
console.log('Opening WhatsApp chat...');
|
| 391 |
+
});
|
| 392 |
+
});
|
| 393 |
+
});
|
| 394 |
+
</script>
|
| 395 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=alkobr55/fourthproject" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 396 |
+
</html>
|