Spaces:
Configuration error
Configuration error
قم بانشاء تطبيق احترافي لادارة متجري الالكتروني من ديون وفواتير ومنتجات
Browse files- debts.html +112 -0
- index.html +158 -18
- invoices.html +120 -0
- products.html +125 -0
debts.html
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE 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>إدارة الديون - لوحة تحكم المتجر</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
|
| 11 |
+
body {
|
| 12 |
+
font-family: 'Cairo', sans-serif;
|
| 13 |
+
}
|
| 14 |
+
</style>
|
| 15 |
+
</head>
|
| 16 |
+
<body class="bg-gray-100">
|
| 17 |
+
<div class="flex h-screen bg-gray-200">
|
| 18 |
+
<!-- Sidebar -->
|
| 19 |
+
<div class="w-64 bg-gray-800 text-white flex flex-col">
|
| 20 |
+
<div class="px-8 py-6 border-b border-gray-700">
|
| 21 |
+
<h2 class="text-2xl font-semibold">متجري</h2>
|
| 22 |
+
</div>
|
| 23 |
+
<nav class="flex-1 px-4 py-4">
|
| 24 |
+
<a href="index.html" class="flex items-center px-4 py-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 25 |
+
<i data-feather="home" class="ml-3"></i>
|
| 26 |
+
لوحة التحكم
|
| 27 |
+
</a>
|
| 28 |
+
<a href="products.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 29 |
+
<i data-feather="box" class="ml-3"></i>
|
| 30 |
+
المنتجات
|
| 31 |
+
</a>
|
| 32 |
+
<a href="invoices.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 33 |
+
<i data-feather="file-text" class="ml-3"></i>
|
| 34 |
+
الفواتير
|
| 35 |
+
</a>
|
| 36 |
+
<a href="debts.html" class="flex items-center px-4 py-2 mt-2 text-gray-100 bg-gray-700 rounded-md">
|
| 37 |
+
<i data-feather="dollar-sign" class="ml-3"></i>
|
| 38 |
+
الديون
|
| 39 |
+
</a>
|
| 40 |
+
</nav>
|
| 41 |
+
</div>
|
| 42 |
+
|
| 43 |
+
<!-- Main content -->
|
| 44 |
+
<div class="flex-1 flex flex-col overflow-hidden">
|
| 45 |
+
<!-- Header -->
|
| 46 |
+
<header class="flex justify-between items-center p-6 bg-white border-b">
|
| 47 |
+
<h1 class="text-3xl font-bold text-gray-800">الديون</h1>
|
| 48 |
+
<div class="flex items-center">
|
| 49 |
+
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded flex items-center">
|
| 50 |
+
<i data-feather="plus-circle" class="ml-2"></i> إضافة دين جديد
|
| 51 |
+
</button>
|
| 52 |
+
</div>
|
| 53 |
+
</header>
|
| 54 |
+
|
| 55 |
+
<!-- Content -->
|
| 56 |
+
<main class="flex-1 overflow-x-hidden overflow-y-auto bg-gray-100 p-6">
|
| 57 |
+
<div class="bg-white p-6 rounded-lg shadow-lg">
|
| 58 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-4">قائمة الديون</h2>
|
| 59 |
+
<div class="overflow-x-auto">
|
| 60 |
+
<table class="w-full text-right">
|
| 61 |
+
<thead>
|
| 62 |
+
<tr class="border-b">
|
| 63 |
+
<th class="py-2 px-4">العميل</th>
|
| 64 |
+
<th class="py-2 px-4">المبلغ</th>
|
| 65 |
+
<th class="py-2 px-4">تاريخ الاستحقاق</th>
|
| 66 |
+
<th class="py-2 px-4">الحالة</th>
|
| 67 |
+
<th class="py-2 px-4">إجراءات</th>
|
| 68 |
+
</tr>
|
| 69 |
+
</thead>
|
| 70 |
+
<tbody>
|
| 71 |
+
<tr class="border-b hover:bg-gray-50">
|
| 72 |
+
<td class="py-2 px-4">علي حسن</td>
|
| 73 |
+
<td class="py-2 px-4">SAR 300.00</td>
|
| 74 |
+
<td class="py-2 px-4">2023-11-15</td>
|
| 75 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-red-800 bg-red-200 rounded-full">غير مدفوع</span></td>
|
| 76 |
+
<td class="py-2 px-4">
|
| 77 |
+
<button class="text-green-500 hover:text-green-700 ml-2"><i data-feather="check-circle"></i></button>
|
| 78 |
+
<button class="text-blue-500 hover:text-blue-700"><i data-feather="edit-2"></i></button>
|
| 79 |
+
</td>
|
| 80 |
+
</tr>
|
| 81 |
+
<tr class="border-b hover:bg-gray-50">
|
| 82 |
+
<td class="py-2 px-4">سارة إبراهيم</td>
|
| 83 |
+
<td class="py-2 px-4">SAR 120.00</td>
|
| 84 |
+
<td class="py-2 px-4">2023-10-30</td>
|
| 85 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-200 rounded-full">مدفوع</span></td>
|
| 86 |
+
<td class="py-2 px-4">
|
| 87 |
+
<button class="text-green-500 hover:text-green-700 ml-2 invisible"><i data-feather="check-circle"></i></button>
|
| 88 |
+
<button class="text-blue-500 hover:text-blue-700"><i data-feather="edit-2"></i></button>
|
| 89 |
+
</td>
|
| 90 |
+
</tr>
|
| 91 |
+
<tr class="hover:bg-gray-50">
|
| 92 |
+
<td class="py-2 px-4">يوسف خالد</td>
|
| 93 |
+
<td class="py-2 px-4">SAR 850.00</td>
|
| 94 |
+
<td class="py-2 px-4">2023-12-01</td>
|
| 95 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-red-800 bg-red-200 rounded-full">غير مدفوع</span></td>
|
| 96 |
+
<td class="py-2 px-4">
|
| 97 |
+
<button class="text-green-500 hover:text-green-700 ml-2"><i data-feather="check-circle"></i></button>
|
| 98 |
+
<button class="text-blue-500 hover:text-blue-700"><i data-feather="edit-2"></i></button>
|
| 99 |
+
</td>
|
| 100 |
+
</tr>
|
| 101 |
+
</tbody>
|
| 102 |
+
</table>
|
| 103 |
+
</div>
|
| 104 |
+
</div>
|
| 105 |
+
</main>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
<script>
|
| 109 |
+
feather.replace()
|
| 110 |
+
</script>
|
| 111 |
+
</body>
|
| 112 |
+
</html>
|
index.html
CHANGED
|
@@ -1,19 +1,159 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
|
| 2 |
+
<!DOCTYPE html>
|
| 3 |
+
<html lang="ar" dir="rtl">
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="UTF-8">
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>لوحة تحكم المتجر</title>
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<style>
|
| 11 |
+
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Cairo', sans-serif;
|
| 14 |
+
}
|
| 15 |
+
</style>
|
| 16 |
+
</head>
|
| 17 |
+
<body class="bg-gray-100">
|
| 18 |
+
<div class="flex h-screen bg-gray-200">
|
| 19 |
+
<!-- Sidebar -->
|
| 20 |
+
<div class="w-64 bg-gray-800 text-white flex flex-col">
|
| 21 |
+
<div class="px-8 py-6 border-b border-gray-700">
|
| 22 |
+
<h2 class="text-2xl font-semibold">متجري</h2>
|
| 23 |
+
</div>
|
| 24 |
+
<nav class="flex-1 px-4 py-4">
|
| 25 |
+
<a href="index.html" class="flex items-center px-4 py-2 text-gray-100 bg-gray-700 rounded-md">
|
| 26 |
+
<i data-feather="home" class="ml-3"></i>
|
| 27 |
+
لوحة التحكم
|
| 28 |
+
</a>
|
| 29 |
+
<a href="products.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 30 |
+
<i data-feather="box" class="ml-3"></i>
|
| 31 |
+
المنتجات
|
| 32 |
+
</a>
|
| 33 |
+
<a href="invoices.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 34 |
+
<i data-feather="file-text" class="ml-3"></i>
|
| 35 |
+
الفواتير
|
| 36 |
+
</a>
|
| 37 |
+
<a href="debts.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 38 |
+
<i data-feather="dollar-sign" class="ml-3"></i>
|
| 39 |
+
الديون
|
| 40 |
+
</a>
|
| 41 |
+
</nav>
|
| 42 |
+
</div>
|
| 43 |
+
|
| 44 |
+
<!-- Main content -->
|
| 45 |
+
<div class="flex-1 flex flex-col overflow-hidden">
|
| 46 |
+
<!-- Header -->
|
| 47 |
+
<header class="flex justify-between items-center p-6 bg-white border-b">
|
| 48 |
+
<h1 class="text-3xl font-bold text-gray-800">لوحة التحكم</h1>
|
| 49 |
+
<div class="flex items-center">
|
| 50 |
+
<button class="mr-4">
|
| 51 |
+
<i data-feather="bell"></i>
|
| 52 |
+
</button>
|
| 53 |
+
<div class="relative">
|
| 54 |
+
<img class="h-12 w-12 rounded-full object-cover" src="http://static.photos/people/200x200/1" alt="Your avatar">
|
| 55 |
+
</div>
|
| 56 |
+
</div>
|
| 57 |
+
</header>
|
| 58 |
+
|
| 59 |
+
<!-- Content -->
|
| 60 |
+
<main class="flex-1 overflow-x-hidden overflow-y-auto bg-gray-100 p-6">
|
| 61 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
| 62 |
+
<!-- Card 1 -->
|
| 63 |
+
<div class="bg-white p-6 rounded-lg shadow-lg">
|
| 64 |
+
<div class="flex items-center">
|
| 65 |
+
<div class="p-3 bg-blue-500 text-white rounded-full">
|
| 66 |
+
<i data-feather="shopping-cart"></i>
|
| 67 |
+
</div>
|
| 68 |
+
<div class="mr-4">
|
| 69 |
+
<p class="text-sm font-medium text-gray-500">إجمالي المبيعات</p>
|
| 70 |
+
<p class="text-2xl font-bold text-gray-800">SAR 75,320</p>
|
| 71 |
+
</div>
|
| 72 |
+
</div>
|
| 73 |
+
</div>
|
| 74 |
+
<!-- Card 2 -->
|
| 75 |
+
<div class="bg-white p-6 rounded-lg shadow-lg">
|
| 76 |
+
<div class="flex items-center">
|
| 77 |
+
<div class="p-3 bg-green-500 text-white rounded-full">
|
| 78 |
+
<i data-feather="dollar-sign"></i>
|
| 79 |
+
</div>
|
| 80 |
+
<div class="mr-4">
|
| 81 |
+
<p class="text-sm font-medium text-gray-500">إجمالي الأرباح</p>
|
| 82 |
+
<p class="text-2xl font-bold text-gray-800">SAR 12,850</p>
|
| 83 |
+
</div>
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
<!-- Card 3 -->
|
| 87 |
+
<div class="bg-white p-6 rounded-lg shadow-lg">
|
| 88 |
+
<div class="flex items-center">
|
| 89 |
+
<div class="p-3 bg-yellow-500 text-white rounded-full">
|
| 90 |
+
<i data-feather="users"></i>
|
| 91 |
+
</div>
|
| 92 |
+
<div class="mr-4">
|
| 93 |
+
<p class="text-sm font-medium text-gray-500">عملاء جدد</p>
|
| 94 |
+
<p class="text-2xl font-bold text-gray-800">150</p>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
<!-- Card 4 -->
|
| 99 |
+
<div class="bg-white p-6 rounded-lg shadow-lg">
|
| 100 |
+
<div class="flex items-center">
|
| 101 |
+
<div class="p-3 bg-red-500 text-white rounded-full">
|
| 102 |
+
<i data-feather="alert-triangle"></i>
|
| 103 |
+
</div>
|
| 104 |
+
<div class="mr-4">
|
| 105 |
+
<p class="text-sm font-medium text-gray-500">الديون المستحقة</p>
|
| 106 |
+
<p class="text-2xl font-bold text-gray-800">SAR 5,430</p>
|
| 107 |
+
</div>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
|
| 112 |
+
<!-- Recent Orders -->
|
| 113 |
+
<div class="mt-8 bg-white p-6 rounded-lg shadow-lg">
|
| 114 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-4">الطلبات الأخيرة</h2>
|
| 115 |
+
<div class="overflow-x-auto">
|
| 116 |
+
<table class="w-full text-right">
|
| 117 |
+
<thead>
|
| 118 |
+
<tr class="border-b">
|
| 119 |
+
<th class="py-2 px-4">رقم الطلب</th>
|
| 120 |
+
<th class="py-2 px-4">العميل</th>
|
| 121 |
+
<th class="py-2 px-4">المبلغ</th>
|
| 122 |
+
<th class="py-2 px-4">الحالة</th>
|
| 123 |
+
<th class="py-2 px-4">التاريخ</th>
|
| 124 |
+
</tr>
|
| 125 |
+
</thead>
|
| 126 |
+
<tbody>
|
| 127 |
+
<tr class="border-b hover:bg-gray-50">
|
| 128 |
+
<td class="py-2 px-4">#12345</td>
|
| 129 |
+
<td class="py-2 px-4">أحمد محمد</td>
|
| 130 |
+
<td class="py-2 px-4">SAR 250.00</td>
|
| 131 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-200 rounded-full">مكتمل</span></td>
|
| 132 |
+
<td class="py-2 px-4">2023-10-26</td>
|
| 133 |
+
</tr>
|
| 134 |
+
<tr class="border-b hover:bg-gray-50">
|
| 135 |
+
<td class="py-2 px-4">#12346</td>
|
| 136 |
+
<td class="py-2 px-4">فاطمة علي</td>
|
| 137 |
+
<td class="py-2 px-4">SAR 150.50</td>
|
| 138 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-yellow-800 bg-yellow-200 rounded-full">قيد التنفيذ</span></td>
|
| 139 |
+
<td class="py-2 px-4">2023-10-26</td>
|
| 140 |
+
</tr>
|
| 141 |
+
<tr class="hover:bg-gray-50">
|
| 142 |
+
<td class="py-2 px-4">#12347</td>
|
| 143 |
+
<td class="py-2 px-4">خالد عبدالله</td>
|
| 144 |
+
<td class="py-2 px-4">SAR 500.00</td>
|
| 145 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-red-800 bg-red-200 rounded-full">ملغي</span></td>
|
| 146 |
+
<td class="py-2 px-4">2023-10-25</td>
|
| 147 |
+
</tr>
|
| 148 |
+
</tbody>
|
| 149 |
+
</table>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
</main>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
<script>
|
| 156 |
+
feather.replace()
|
| 157 |
+
</script>
|
| 158 |
+
</body>
|
| 159 |
</html>
|
invoices.html
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE 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>إدارة الفواتير - لوحة تحكم المتجر</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
|
| 11 |
+
body {
|
| 12 |
+
font-family: 'Cairo', sans-serif;
|
| 13 |
+
}
|
| 14 |
+
</style>
|
| 15 |
+
</head>
|
| 16 |
+
<body class="bg-gray-100">
|
| 17 |
+
<div class="flex h-screen bg-gray-200">
|
| 18 |
+
<!-- Sidebar -->
|
| 19 |
+
<div class="w-64 bg-gray-800 text-white flex flex-col">
|
| 20 |
+
<div class="px-8 py-6 border-b border-gray-700">
|
| 21 |
+
<h2 class="text-2xl font-semibold">متجري</h2>
|
| 22 |
+
</div>
|
| 23 |
+
<nav class="flex-1 px-4 py-4">
|
| 24 |
+
<a href="index.html" class="flex items-center px-4 py-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 25 |
+
<i data-feather="home" class="ml-3"></i>
|
| 26 |
+
لوحة التحكم
|
| 27 |
+
</a>
|
| 28 |
+
<a href="products.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 29 |
+
<i data-feather="box" class="ml-3"></i>
|
| 30 |
+
المنتجات
|
| 31 |
+
</a>
|
| 32 |
+
<a href="invoices.html" class="flex items-center px-4 py-2 mt-2 text-gray-100 bg-gray-700 rounded-md">
|
| 33 |
+
<i data-feather="file-text" class="ml-3"></i>
|
| 34 |
+
الفواتير
|
| 35 |
+
</a>
|
| 36 |
+
<a href="debts.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 37 |
+
<i data-feather="dollar-sign" class="ml-3"></i>
|
| 38 |
+
الديون
|
| 39 |
+
</a>
|
| 40 |
+
</nav>
|
| 41 |
+
</div>
|
| 42 |
+
|
| 43 |
+
<!-- Main content -->
|
| 44 |
+
<div class="flex-1 flex flex-col overflow-hidden">
|
| 45 |
+
<!-- Header -->
|
| 46 |
+
<header class="flex justify-between items-center p-6 bg-white border-b">
|
| 47 |
+
<h1 class="text-3xl font-bold text-gray-800">الفواتير</h1>
|
| 48 |
+
<div class="flex items-center">
|
| 49 |
+
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded flex items-center">
|
| 50 |
+
<i data-feather="plus-circle" class="ml-2"></i> إنشاء فاتورة جديدة
|
| 51 |
+
</button>
|
| 52 |
+
</div>
|
| 53 |
+
</header>
|
| 54 |
+
|
| 55 |
+
<!-- Content -->
|
| 56 |
+
<main class="flex-1 overflow-x-hidden overflow-y-auto bg-gray-100 p-6">
|
| 57 |
+
<div class="bg-white p-6 rounded-lg shadow-lg">
|
| 58 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-4">قائمة الفواتير</h2>
|
| 59 |
+
<div class="overflow-x-auto">
|
| 60 |
+
<table class="w-full text-right">
|
| 61 |
+
<thead>
|
| 62 |
+
<tr class="border-b">
|
| 63 |
+
<th class="py-2 px-4">رقم الفاتورة</th>
|
| 64 |
+
<th class="py-2 px-4">العميل</th>
|
| 65 |
+
<th class="py-2 px-4">تاريخ الإصدار</th>
|
| 66 |
+
<th class="py-2 px-4">تاريخ الاستحقاق</th>
|
| 67 |
+
<th class="py-2 px-4">المبلغ</th>
|
| 68 |
+
<th class="py-2 px-4">الحالة</th>
|
| 69 |
+
<th class="py-2 px-4">إجراءات</th>
|
| 70 |
+
</tr>
|
| 71 |
+
</thead>
|
| 72 |
+
<tbody>
|
| 73 |
+
<tr class="border-b hover:bg-gray-50">
|
| 74 |
+
<td class="py-2 px-4">INV-001</td>
|
| 75 |
+
<td class="py-2 px-4">أحمد محمد</td>
|
| 76 |
+
<td class="py-2 px-4">2023-10-20</td>
|
| 77 |
+
<td class="py-2 px-4">2023-11-20</td>
|
| 78 |
+
<td class="py-2 px-4">SAR 1500.00</td>
|
| 79 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-200 rounded-full">مدفوعة</span></td>
|
| 80 |
+
<td class="py-2 px-4">
|
| 81 |
+
<button class="text-gray-500 hover:text-gray-700 ml-2"><i data-feather="eye"></i></button>
|
| 82 |
+
<button class="text-blue-500 hover:text-blue-700"><i data-feather="download"></i></button>
|
| 83 |
+
</td>
|
| 84 |
+
</tr>
|
| 85 |
+
<tr class="border-b hover:bg-gray-50">
|
| 86 |
+
<td class="py-2 px-4">INV-002</td>
|
| 87 |
+
<td class="py-2 px-4">فاطمة علي</td>
|
| 88 |
+
<td class="py-2 px-4">2023-10-22</td>
|
| 89 |
+
<td class="py-2 px-4">2023-11-22</td>
|
| 90 |
+
<td class="py-2 px-4">SAR 750.00</td>
|
| 91 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-yellow-800 bg-yellow-200 rounded-full">بانتظار الدفع</span></td>
|
| 92 |
+
<td class="py-2 px-4">
|
| 93 |
+
<button class="text-gray-500 hover:text-gray-700 ml-2"><i data-feather="eye"></i></button>
|
| 94 |
+
<button class="text-blue-500 hover:text-blue-700"><i data-feather="download"></i></button>
|
| 95 |
+
</td>
|
| 96 |
+
</tr>
|
| 97 |
+
<tr class="hover:bg-gray-50">
|
| 98 |
+
<td class="py-2 px-4">INV-003</td>
|
| 99 |
+
<td class="py-2 px-4">خالد عبدالله</td>
|
| 100 |
+
<td class="py-2 px-4">2023-09-15</td>
|
| 101 |
+
<td class="py-2 px-4">2023-10-15</td>
|
| 102 |
+
<td class="py-2 px-4">SAR 2200.00</td>
|
| 103 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-red-800 bg-red-200 rounded-full">متأخرة</span></td>
|
| 104 |
+
<td class="py-2 px-4">
|
| 105 |
+
<button class="text-gray-500 hover:text-gray-700 ml-2"><i data-feather="eye"></i></button>
|
| 106 |
+
<button class="text-blue-500 hover:text-blue-700"><i data-feather="download"></i></button>
|
| 107 |
+
</td>
|
| 108 |
+
</tr>
|
| 109 |
+
</tbody>
|
| 110 |
+
</table>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
</main>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
<script>
|
| 117 |
+
feather.replace()
|
| 118 |
+
</script>
|
| 119 |
+
</body>
|
| 120 |
+
</html>
|
products.html
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE 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>إدارة المنتجات - لوحة تحكم المتجر</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
|
| 11 |
+
body {
|
| 12 |
+
font-family: 'Cairo', sans-serif;
|
| 13 |
+
}
|
| 14 |
+
</style>
|
| 15 |
+
</head>
|
| 16 |
+
<body class="bg-gray-100">
|
| 17 |
+
<div class="flex h-screen bg-gray-200">
|
| 18 |
+
<!-- Sidebar -->
|
| 19 |
+
<div class="w-64 bg-gray-800 text-white flex flex-col">
|
| 20 |
+
<div class="px-8 py-6 border-b border-gray-700">
|
| 21 |
+
<h2 class="text-2xl font-semibold">متجري</h2>
|
| 22 |
+
</div>
|
| 23 |
+
<nav class="flex-1 px-4 py-4">
|
| 24 |
+
<a href="index.html" class="flex items-center px-4 py-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 25 |
+
<i data-feather="home" class="ml-3"></i>
|
| 26 |
+
لوحة التحكم
|
| 27 |
+
</a>
|
| 28 |
+
<a href="products.html" class="flex items-center px-4 py-2 mt-2 text-gray-100 bg-gray-700 rounded-md">
|
| 29 |
+
<i data-feather="box" class="ml-3"></i>
|
| 30 |
+
المنتجات
|
| 31 |
+
</a>
|
| 32 |
+
<a href="invoices.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 33 |
+
<i data-feather="file-text" class="ml-3"></i>
|
| 34 |
+
الفواتير
|
| 35 |
+
</a>
|
| 36 |
+
<a href="debts.html" class="flex items-center px-4 py-2 mt-2 text-gray-300 hover:bg-gray-700 hover:text-white rounded-md">
|
| 37 |
+
<i data-feather="dollar-sign" class="ml-3"></i>
|
| 38 |
+
الديون
|
| 39 |
+
</a>
|
| 40 |
+
</nav>
|
| 41 |
+
</div>
|
| 42 |
+
|
| 43 |
+
<!-- Main content -->
|
| 44 |
+
<div class="flex-1 flex flex-col overflow-hidden">
|
| 45 |
+
<!-- Header -->
|
| 46 |
+
<header class="flex justify-between items-center p-6 bg-white border-b">
|
| 47 |
+
<h1 class="text-3xl font-bold text-gray-800">المنتجات</h1>
|
| 48 |
+
<div class="flex items-center">
|
| 49 |
+
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded flex items-center">
|
| 50 |
+
<i data-feather="plus-circle" class="ml-2"></i> إضافة منتج جديد
|
| 51 |
+
</button>
|
| 52 |
+
</div>
|
| 53 |
+
</header>
|
| 54 |
+
|
| 55 |
+
<!-- Content -->
|
| 56 |
+
<main class="flex-1 overflow-x-hidden overflow-y-auto bg-gray-100 p-6">
|
| 57 |
+
<div class="bg-white p-6 rounded-lg shadow-lg">
|
| 58 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-4">قائمة المنتجات</h2>
|
| 59 |
+
<div class="overflow-x-auto">
|
| 60 |
+
<table class="w-full text-right">
|
| 61 |
+
<thead>
|
| 62 |
+
<tr class="border-b">
|
| 63 |
+
<th class="py-2 px-4">المنتج</th>
|
| 64 |
+
<th class="py-2 px-4">SKU</th>
|
| 65 |
+
<th class="py-2 px-4">السعر</th>
|
| 66 |
+
<th class="py-2 px-4">المخزون</th>
|
| 67 |
+
<th class="py-2 px-4">الحالة</th>
|
| 68 |
+
<th class="py-2 px-4">إجراءات</th>
|
| 69 |
+
</tr>
|
| 70 |
+
</thead>
|
| 71 |
+
<tbody>
|
| 72 |
+
<tr class="border-b hover:bg-gray-50">
|
| 73 |
+
<td class="py-2 px-4 flex items-center">
|
| 74 |
+
<img src="http://static.photos/technology/200x200/1" alt="Product" class="w-10 h-10 rounded ml-3 object-cover">
|
| 75 |
+
<span>هاتف ذكي حديث</span>
|
| 76 |
+
</td>
|
| 77 |
+
<td class="py-2 px-4">SKU-001</td>
|
| 78 |
+
<td class="py-2 px-4">SAR 1200.00</td>
|
| 79 |
+
<td class="py-2 px-4">50</td>
|
| 80 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-200 rounded-full">متوفر</span></td>
|
| 81 |
+
<td class="py-2 px-4">
|
| 82 |
+
<button class="text-blue-500 hover:text-blue-700 ml-2"><i data-feather="edit-2"></i></button>
|
| 83 |
+
<button class="text-red-500 hover:text-red-700"><i data-feather="trash-2"></i></button>
|
| 84 |
+
</td>
|
| 85 |
+
</tr>
|
| 86 |
+
<tr class="border-b hover:bg-gray-50">
|
| 87 |
+
<td class="py-2 px-4 flex items-center">
|
| 88 |
+
<img src="http://static.photos/technology/200x200/2" alt="Product" class="w-10 h-10 rounded ml-3 object-cover">
|
| 89 |
+
<span>لابتوب محمول</span>
|
| 90 |
+
</td>
|
| 91 |
+
<td class="py-2 px-4">SKU-002</td>
|
| 92 |
+
<td class="py-2 px-4">SAR 3500.00</td>
|
| 93 |
+
<td class="py-2 px-4">15</td>
|
| 94 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-200 rounded-full">متوفر</span></td>
|
| 95 |
+
<td class="py-2 px-4">
|
| 96 |
+
<button class="text-blue-500 hover:text-blue-700 ml-2"><i data-feather="edit-2"></i></button>
|
| 97 |
+
<button class="text-red-500 hover:text-red-700"><i data-feather="trash-2"></i></button>
|
| 98 |
+
</td>
|
| 99 |
+
</tr>
|
| 100 |
+
<tr class="hover:bg-gray-50">
|
| 101 |
+
<td class="py-2 px-4 flex items-center">
|
| 102 |
+
<img src="http://static.photos/technology/200x200/3" alt="Product" class="w-10 h-10 rounded ml-3 object-cover">
|
| 103 |
+
<span>سماعات لاسلكية</span>
|
| 104 |
+
</td>
|
| 105 |
+
<td class="py-2 px-4">SKU-003</td>
|
| 106 |
+
<td class="py-2 px-4">SAR 450.00</td>
|
| 107 |
+
<td class="py-2 px-4">0</td>
|
| 108 |
+
<td class="py-2 px-4"><span class="px-2 py-1 text-xs font-semibold text-red-800 bg-red-200 rounded-full">غير متوفر</span></td>
|
| 109 |
+
<td class="py-2 px-4">
|
| 110 |
+
<button class="text-blue-500 hover:text-blue-700 ml-2"><i data-feather="edit-2"></i></button>
|
| 111 |
+
<button class="text-red-500 hover:text-red-700"><i data-feather="trash-2"></i></button>
|
| 112 |
+
</td>
|
| 113 |
+
</tr>
|
| 114 |
+
</tbody>
|
| 115 |
+
</table>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
</main>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
<script>
|
| 122 |
+
feather.replace()
|
| 123 |
+
</script>
|
| 124 |
+
</body>
|
| 125 |
+
</html>
|