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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="fa" 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://cdn.jsdelivr.net/npm/[email protected]/dist/JsBarcode.all.min.js"></script>
|
9 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
10 |
+
<style>
|
11 |
+
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:[email protected]&display=swap');
|
12 |
+
body {
|
13 |
+
font-family: 'Vazirmatn', sans-serif;
|
14 |
+
}
|
15 |
+
.sidebar-item.active {
|
16 |
+
background-color: #3b82f6;
|
17 |
+
color: white;
|
18 |
+
}
|
19 |
+
.sidebar-item:hover:not(.active) {
|
20 |
+
background-color: #e5e7eb;
|
21 |
+
}
|
22 |
+
.barcode-container {
|
23 |
+
background: white;
|
24 |
+
padding: 10px;
|
25 |
+
border-radius: 5px;
|
26 |
+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
27 |
+
}
|
28 |
+
.form-input {
|
29 |
+
border: 1px solid #d1d5db;
|
30 |
+
border-radius: 0.375rem;
|
31 |
+
padding: 0.5rem 0.75rem;
|
32 |
+
width: 100%;
|
33 |
+
}
|
34 |
+
.form-input:focus {
|
35 |
+
outline: none;
|
36 |
+
border-color: #3b82f6;
|
37 |
+
box-shadow: 0 0 0 1px #3b82f6;
|
38 |
+
}
|
39 |
+
.table-row:hover {
|
40 |
+
background-color: #f3f4f6;
|
41 |
+
}
|
42 |
+
</style>
|
43 |
+
</head>
|
44 |
+
<body class="bg-gray-100">
|
45 |
+
<div class="flex h-screen overflow-hidden">
|
46 |
+
<!-- Sidebar -->
|
47 |
+
<div class="w-64 bg-blue-800 text-white flex flex-col">
|
48 |
+
<div class="p-4 flex items-center justify-center border-b border-blue-700">
|
49 |
+
<i class="fas fa-calculator text-2xl ml-2"></i>
|
50 |
+
<h1 class="text-xl font-bold">سیستم مالی یکپارچه</h1>
|
51 |
+
</div>
|
52 |
+
<div class="flex-1 overflow-y-auto">
|
53 |
+
<div class="p-2">
|
54 |
+
<div class="mb-4 mt-4">
|
55 |
+
<h3 class="px-4 text-sm font-semibold text-blue-200">ساختار سازمانی</h3>
|
56 |
+
<ul class="mt-2">
|
57 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('org-units')"><i class="fas fa-sitemap ml-2"></i>واحدهای سازمانی</a></li>
|
58 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('job-positions')"><i class="fas fa-user-tie ml-2"></i>پستهای سازمانی</a></li>
|
59 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('user-groups')"><i class="fas fa-users ml-2"></i>گروههای کاربری</a></li>
|
60 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('users')"><i class="fas fa-user ml-2"></i>کاربران</a></li>
|
61 |
+
</ul>
|
62 |
+
</div>
|
63 |
+
<div class="mb-4">
|
64 |
+
<h3 class="px-4 text-sm font-semibold text-blue-200">ساختار حسابداری</h3>
|
65 |
+
<ul class="mt-2">
|
66 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('account-levels')"><i class="fas fa-layer-group ml-2"></i>سطوح حسابداری</a></li>
|
67 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('subsidiary-accounts')"><i class="fas fa-wallet ml-2"></i>حسابهای معین</a></li>
|
68 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('level4-accounts')"><i class="fas fa-coins ml-2"></i>حسابهای تفصیلی سطح ۴</a></li>
|
69 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('level5-accounts')"><i class="fas fa-money-bill-wave ml-2"></i>حسابهای تفصیلی سطح ۵</a></li>
|
70 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('level6-accounts')"><i class="fas fa-piggy-bank ml-2"></i>حسابهای تفصیلی سطح ۶</a></li>
|
71 |
+
</ul>
|
72 |
+
</div>
|
73 |
+
<div class="mb-4">
|
74 |
+
<h3 class="px-4 text-sm font-semibold text-blue-200">مدیریت رویدادها</h3>
|
75 |
+
<ul class="mt-2">
|
76 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('activities')"><i class="fas fa-tasks ml-2"></i>فعالیتها</a></li>
|
77 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('events')"><i class="fas fa-calendar-check ml-2"></i>رویدادها</a></li>
|
78 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('record-events')"><i class="fas fa-pen ml-2"></i>ثبت رویدادها</a></li>
|
79 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('tracking-codes')"><i class="fas fa-barcode ml-2"></i>کدهای رهگیری</a></li>
|
80 |
+
</ul>
|
81 |
+
</div>
|
82 |
+
<div class="mb-4">
|
83 |
+
<h3 class="px-4 text-sm font-semibold text-blue-200">کنترل و گزارشات</h3>
|
84 |
+
<ul class="mt-2">
|
85 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('tasks')"><i class="fas fa-inbox ml-2"></i>کارتابل</a></li>
|
86 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('reports')"><i class="fas fa-chart-bar ml-2"></i>گزارشات</a></li>
|
87 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('dashboard')"><i class="fas fa-tachometer-alt ml-2"></i>داشبورد</a></li>
|
88 |
+
<li><a href="#" class="sidebar-item block px-4 py-2 rounded" onclick="showSection('settings')"><i class="fas fa-cog ml-2"></i>تنظیمات</a></li>
|
89 |
+
</ul>
|
90 |
+
</div>
|
91 |
+
</div>
|
92 |
+
</div>
|
93 |
+
<div class="p-4 border-t border-blue-700 flex items-center">
|
94 |
+
<img src="https://via.placeholder.com/40" alt="User" class="rounded-full w-10 h-10">
|
95 |
+
<div class="mr-2">
|
96 |
+
<p class="font-medium">کاربر مدیر</p>
|
97 |
+
<p class="text-xs text-blue-200">مدیر سیستم</p>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
|
102 |
+
<!-- Main Content -->
|
103 |
+
<div class="flex-1 overflow-auto">
|
104 |
+
<!-- Top Navigation -->
|
105 |
+
<header class="bg-white shadow-sm">
|
106 |
+
<div class="px-4 py-3 flex justify-between items-center border-b">
|
107 |
+
<div class="flex items-center">
|
108 |
+
<button class="text-gray-500 focus:outline-none lg:hidden">
|
109 |
+
<i class="fas fa-bars"></i>
|
110 |
+
</button>
|
111 |
+
<h2 id="section-title" class="text-lg font-semibold mr-4">داشبورد</h2>
|
112 |
+
</div>
|
113 |
+
<div class="flex items-center">
|
114 |
+
<div class="relative">
|
115 |
+
<input type="text" placeholder="جستجو..." class="form-input pr-10">
|
116 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
117 |
+
</div>
|
118 |
+
<button class="ml-4 text-gray-500 hover:text-gray-700">
|
119 |
+
<i class="fas fa-bell"></i>
|
120 |
+
</button>
|
121 |
+
<button class="ml-4 text-gray-500 hover:text-gray-700">
|
122 |
+
<i class="fas fa-question-circle"></i>
|
123 |
+
</button>
|
124 |
+
</div>
|
125 |
+
</div>
|
126 |
+
</header>
|
127 |
+
|
128 |
+
<!-- Content Sections -->
|
129 |
+
<main class="p-4">
|
130 |
+
<!-- Dashboard Section -->
|
131 |
+
<div id="dashboard" class="section-content">
|
132 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
|
133 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
134 |
+
<div class="flex justify-between">
|
135 |
+
<div>
|
136 |
+
<p class="text-gray-500">رویدادهای امروز</p>
|
137 |
+
<p class="text-2xl font-bold">24</p>
|
138 |
+
</div>
|
139 |
+
<div class="bg-blue-100 text-blue-600 p-3 rounded-full">
|
140 |
+
<i class="fas fa-calendar-day"></i>
|
141 |
+
</div>
|
142 |
+
</div>
|
143 |
+
</div>
|
144 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
145 |
+
<div class="flex justify-between">
|
146 |
+
<div>
|
147 |
+
<p class="text-gray-500">وظایف در انتظار</p>
|
148 |
+
<p class="text-2xl font-bold">8</p>
|
149 |
+
</div>
|
150 |
+
<div class="bg-yellow-100 text-yellow-600 p-3 rounded-full">
|
151 |
+
<i class="fas fa-tasks"></i>
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
156 |
+
<div class="flex justify-between">
|
157 |
+
<div>
|
158 |
+
<p class="text-gray-500">رویدادهای تایید شده</p>
|
159 |
+
<p class="text-2xl font-bold">42</p>
|
160 |
+
</div>
|
161 |
+
<div class="bg-green-100 text-green-600 p-3 rounded-full">
|
162 |
+
<i class="fas fa-check-circle"></i>
|
163 |
+
</div>
|
164 |
+
</div>
|
165 |
+
</div>
|
166 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
167 |
+
<div class="flex justify-between">
|
168 |
+
<div>
|
169 |
+
<p class="text-gray-500">مبلغ کل ماه</p>
|
170 |
+
<p class="text-2xl font-bold">12.5M</p>
|
171 |
+
</div>
|
172 |
+
<div class="bg-purple-100 text-purple-600 p-3 rounded-full">
|
173 |
+
<i class="fas fa-money-bill-wave"></i>
|
174 |
+
</div>
|
175 |
+
</div>
|
176 |
+
</div>
|
177 |
+
</div>
|
178 |
+
|
179 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
180 |
+
<div class="bg-white p-4 rounded-lg shadow lg:col-span-2">
|
181 |
+
<div class="flex justify-between items-center mb-4">
|
182 |
+
<h3 class="font-semibold">آخرین رویدادها</h3>
|
183 |
+
<a href="#" class="text-blue-600 text-sm">مشاهده همه</a>
|
184 |
+
</div>
|
185 |
+
<div class="overflow-x-auto">
|
186 |
+
<table class="min-w-full divide-y divide-gray-200">
|
187 |
+
<thead class="bg-gray-50">
|
188 |
+
<tr>
|
189 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد رهگیری</th>
|
190 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">شرح</th>
|
191 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">مبلغ</th>
|
192 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">وضعیت</th>
|
193 |
+
</tr>
|
194 |
+
</thead>
|
195 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
196 |
+
<tr class="table-row">
|
197 |
+
<td class="px-4 py-2 whitespace-nowrap">101010-00001-00001-000001</td>
|
198 |
+
<td class="px-4 py-2 whitespace-nowrap">خرید مواد اولیه</td>
|
199 |
+
<td class="px-4 py-2 whitespace-nowrap">5,000,000 ریال</td>
|
200 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">تایید شده</span></td>
|
201 |
+
</tr>
|
202 |
+
<tr class="table-row">
|
203 |
+
<td class="px-4 py-2 whitespace-nowrap">101020-00002-00001-000002</td>
|
204 |
+
<td class="px-4 py-2 whitespace-nowrap">پرداخت حقوق</td>
|
205 |
+
<td class="px-4 py-2 whitespace-nowrap">12,000,000 ریال</td>
|
206 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-yellow-100 text-yellow-800">در انتظار تایید</span></td>
|
207 |
+
</tr>
|
208 |
+
<tr class="table-row">
|
209 |
+
<td class="px-4 py-2 whitespace-nowrap">101030-00003-00002-000003</td>
|
210 |
+
<td class="px-4 py-2 whitespace-nowrap">خرید تجهیزات</td>
|
211 |
+
<td class="px-4 py-2 whitespace-nowrap">8,500,000 ریال</td>
|
212 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-blue-100 text-blue-800">در جریان</span></td>
|
213 |
+
</tr>
|
214 |
+
</tbody>
|
215 |
+
</table>
|
216 |
+
</div>
|
217 |
+
</div>
|
218 |
+
|
219 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
220 |
+
<div class="flex justify-between items-center mb-4">
|
221 |
+
<h3 class="font-semibold">وظایف من</h3>
|
222 |
+
<a href="#" class="text-blue-600 text-sm">مشاهده همه</a>
|
223 |
+
</div>
|
224 |
+
<div class="space-y-3">
|
225 |
+
<div class="flex items-start">
|
226 |
+
<input type="checkbox" class="mt-1">
|
227 |
+
<div class="mr-2">
|
228 |
+
<p class="text-sm font-medium">تایید رویداد خرید مواد اولیه</p>
|
229 |
+
<p class="text-xs text-gray-500">2 ساعت پیش</p>
|
230 |
+
</div>
|
231 |
+
</div>
|
232 |
+
<div class="flex items-start">
|
233 |
+
<input type="checkbox" class="mt-1">
|
234 |
+
<div class="mr-2">
|
235 |
+
<p class="text-sm font-medium">تعریف حساب تفصیلی جدید</p>
|
236 |
+
<p class="text-xs text-gray-500">دیروز</p>
|
237 |
+
</div>
|
238 |
+
</div>
|
239 |
+
<div class="flex items-start">
|
240 |
+
<input type="checkbox" class="mt-1">
|
241 |
+
<div class="mr-2">
|
242 |
+
<p class="text-sm font-medium">بررسی گزارش مالی ماهانه</p>
|
243 |
+
<p class="text-xs text-gray-500">3 روز پیش</p>
|
244 |
+
</div>
|
245 |
+
</div>
|
246 |
+
</div>
|
247 |
+
</div>
|
248 |
+
</div>
|
249 |
+
</div>
|
250 |
+
|
251 |
+
<!-- Organizational Units Section -->
|
252 |
+
<div id="org-units" class="section-content hidden">
|
253 |
+
<div class="bg-white p-4 rounded-lg shadow mb-4">
|
254 |
+
<div class="flex justify-between items-center mb-4">
|
255 |
+
<h3 class="font-semibold">واحدهای سازمانی</h3>
|
256 |
+
<button onclick="showForm('org-unit-form')" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
|
257 |
+
<i class="fas fa-plus ml-2"></i>واحد جدید
|
258 |
+
</button>
|
259 |
+
</div>
|
260 |
+
<div class="mb-4">
|
261 |
+
<div class="relative">
|
262 |
+
<input type="text" placeholder="جستجو در واحدهای سازمانی..." class="form-input pr-10">
|
263 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
264 |
+
</div>
|
265 |
+
</div>
|
266 |
+
<div class="overflow-x-auto">
|
267 |
+
<table class="min-w-full divide-y divide-gray-200">
|
268 |
+
<thead class="bg-gray-50">
|
269 |
+
<tr>
|
270 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد</th>
|
271 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام واحد</th>
|
272 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">واحد مافوق</th>
|
273 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">وضعیت</th>
|
274 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">عملیات</th>
|
275 |
+
</tr>
|
276 |
+
</thead>
|
277 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
278 |
+
<tr class="table-row">
|
279 |
+
<td class="px-4 py-2 whitespace-nowrap">001</td>
|
280 |
+
<td class="px-4 py-2 whitespace-nowrap">مدیریت مالی</td>
|
281 |
+
<td class="px-4 py-2 whitespace-nowrap">مدیریت عامل</td>
|
282 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
283 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
284 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
285 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
286 |
+
</td>
|
287 |
+
</tr>
|
288 |
+
<tr class="table-row">
|
289 |
+
<td class="px-4 py-2 whitespace-nowrap">002</td>
|
290 |
+
<td class="px-4 py-2 whitespace-nowrap">حسابداری</td>
|
291 |
+
<td class="px-4 py-2 whitespace-nowrap">مدیریت مالی</td>
|
292 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
293 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
294 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
295 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
296 |
+
</td>
|
297 |
+
</tr>
|
298 |
+
<tr class="table-row">
|
299 |
+
<td class="px-4 py-2 whitespace-nowrap">003</td>
|
300 |
+
<td class="px-4 py-2 whitespace-nowrap">تدارکات</td>
|
301 |
+
<td class="px-4 py-2 whitespace-nowrap">مدیریت عامل</td>
|
302 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
303 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
304 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
305 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
306 |
+
</td>
|
307 |
+
</tr>
|
308 |
+
</tbody>
|
309 |
+
</table>
|
310 |
+
</div>
|
311 |
+
</div>
|
312 |
+
|
313 |
+
<!-- Add/Edit Form (Hidden by default) -->
|
314 |
+
<div id="org-unit-form" class="bg-white p-4 rounded-lg shadow hidden">
|
315 |
+
<h3 class="font-semibold mb-4">فرم تعریف واحد سازمانی</h3>
|
316 |
+
<form>
|
317 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
318 |
+
<div>
|
319 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">کد واحد</label>
|
320 |
+
<input type="text" class="form-input">
|
321 |
+
</div>
|
322 |
+
<div>
|
323 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">نام واحد</label>
|
324 |
+
<input type="text" class="form-input">
|
325 |
+
</div>
|
326 |
+
<div>
|
327 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">واحد مافوق</label>
|
328 |
+
<select class="form-input">
|
329 |
+
<option>انتخاب کنید</option>
|
330 |
+
<option>مدیریت عامل</option>
|
331 |
+
<option>مدیریت مالی</option>
|
332 |
+
</select>
|
333 |
+
</div>
|
334 |
+
<div>
|
335 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">وضعیت</label>
|
336 |
+
<select class="form-input">
|
337 |
+
<option>فعال</option>
|
338 |
+
<option>غیرفعال</option>
|
339 |
+
</select>
|
340 |
+
</div>
|
341 |
+
</div>
|
342 |
+
<div class="flex justify-end">
|
343 |
+
<button type="button" onclick="hideForm('org-unit-form')" class="bg-gray-300 text-gray-700 px-4 py-2 rounded hover:bg-gray-400 mr-2">انصراف</button>
|
344 |
+
<button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">ذخیره</button>
|
345 |
+
</div>
|
346 |
+
</form>
|
347 |
+
</div>
|
348 |
+
</div>
|
349 |
+
|
350 |
+
<!-- Job Positions Section -->
|
351 |
+
<div id="job-positions" class="section-content hidden">
|
352 |
+
<div class="bg-white p-4 rounded-lg shadow mb-4">
|
353 |
+
<div class="flex justify-between items-center mb-4">
|
354 |
+
<h3 class="font-semibold">پستهای سازمانی</h3>
|
355 |
+
<button onclick="showForm('job-position-form')" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
|
356 |
+
<i class="fas fa-plus ml-2"></i>پست جدید
|
357 |
+
</button>
|
358 |
+
</div>
|
359 |
+
<div class="mb-4">
|
360 |
+
<div class="relative">
|
361 |
+
<input type="text" placeholder="جستجو در پستهای سازمانی..." class="form-input pr-10">
|
362 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
363 |
+
</div>
|
364 |
+
</div>
|
365 |
+
<div class="overflow-x-auto">
|
366 |
+
<table class="min-w-full divide-y divide-gray-200">
|
367 |
+
<thead class="bg-gray-50">
|
368 |
+
<tr>
|
369 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد</th>
|
370 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">عنوان پست</th>
|
371 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">واحد سازمانی</th>
|
372 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">وضعیت</th>
|
373 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">عملیات</th>
|
374 |
+
</tr>
|
375 |
+
</thead>
|
376 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
377 |
+
<tr class="table-row">
|
378 |
+
<td class="px-4 py-2 whitespace-nowrap">101</td>
|
379 |
+
<td class="px-4 py-2 whitespace-nowrap">مدیر مالی</td>
|
380 |
+
<td class="px-4 py-2 whitespace-nowrap">مدیریت مالی</td>
|
381 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
382 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
383 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
384 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
385 |
+
</td>
|
386 |
+
</tr>
|
387 |
+
<tr class="table-row">
|
388 |
+
<td class="px-4 py-2 whitespace-nowrap">102</td>
|
389 |
+
<td class="px-4 py-2 whitespace-nowrap">حسابدار</td>
|
390 |
+
<td class="px-4 py-2 whitespace-nowrap">حسابداری</td>
|
391 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
392 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
393 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
394 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
395 |
+
</td>
|
396 |
+
</tr>
|
397 |
+
<tr class="table-row">
|
398 |
+
<td class="px-4 py-2 whitespace-nowrap">103</td>
|
399 |
+
<td class="px-4 py-2 whitespace-nowrap">کارشناس خرید</td>
|
400 |
+
<td class="px-4 py-2 whitespace-nowrap">تدارکات</td>
|
401 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
402 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
403 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
404 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
405 |
+
</td>
|
406 |
+
</tr>
|
407 |
+
</tbody>
|
408 |
+
</table>
|
409 |
+
</div>
|
410 |
+
</div>
|
411 |
+
|
412 |
+
<!-- Add/Edit Form (Hidden by default) -->
|
413 |
+
<div id="job-position-form" class="bg-white p-4 rounded-lg shadow hidden">
|
414 |
+
<h3 class="font-semibold mb-4">فرم تعریف پست سازمانی</h3>
|
415 |
+
<form>
|
416 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
417 |
+
<div>
|
418 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">کد پست</label>
|
419 |
+
<input type="text" class="form-input">
|
420 |
+
</div>
|
421 |
+
<div>
|
422 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">عنوان پست</label>
|
423 |
+
<input type="text" class="form-input">
|
424 |
+
</div>
|
425 |
+
<div>
|
426 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">واحد سازمانی</label>
|
427 |
+
<select class="form-input">
|
428 |
+
<option>انتخاب کنید</option>
|
429 |
+
<option>مدیریت مالی</option>
|
430 |
+
<option>حسابداری</option>
|
431 |
+
<option>تدارکات</option>
|
432 |
+
</select>
|
433 |
+
</div>
|
434 |
+
<div>
|
435 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">وضعیت</label>
|
436 |
+
<select class="form-input">
|
437 |
+
<option>فعال</option>
|
438 |
+
<option>غیرفعال</option>
|
439 |
+
</select>
|
440 |
+
</div>
|
441 |
+
</div>
|
442 |
+
<div class="flex justify-end">
|
443 |
+
<button type="button" onclick="hideForm('job-position-form')" class="bg-gray-300 text-gray-700 px-4 py-2 rounded hover:bg-gray-400 mr-2">انصراف</button>
|
444 |
+
<button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">ذخیره</button>
|
445 |
+
</div>
|
446 |
+
</form>
|
447 |
+
</div>
|
448 |
+
</div>
|
449 |
+
|
450 |
+
<!-- User Groups Section -->
|
451 |
+
<div id="user-groups" class="section-content hidden">
|
452 |
+
<div class="bg-white p-4 rounded-lg shadow mb-4">
|
453 |
+
<div class="flex justify-between items-center mb-4">
|
454 |
+
<h3 class="font-semibold">گروههای کاربری</h3>
|
455 |
+
<button onclick="showForm('user-group-form')" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
|
456 |
+
<i class="fas fa-plus ml-2"></i>گروه جدید
|
457 |
+
</button>
|
458 |
+
</div>
|
459 |
+
<div class="mb-4">
|
460 |
+
<div class="relative">
|
461 |
+
<input type="text" placeholder="جستجو در گروههای کاربری..." class="form-input pr-10">
|
462 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
463 |
+
</div>
|
464 |
+
</div>
|
465 |
+
<div class="overflow-x-auto">
|
466 |
+
<table class="min-w-full divide-y divide-gray-200">
|
467 |
+
<thead class="bg-gray-50">
|
468 |
+
<tr>
|
469 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد</th>
|
470 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام گروه</th>
|
471 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">تعداد کاربران</th>
|
472 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">وضعیت</th>
|
473 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">عملیات</th>
|
474 |
+
</tr>
|
475 |
+
</thead>
|
476 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
477 |
+
<tr class="table-row">
|
478 |
+
<td class="px-4 py-2 whitespace-nowrap">G001</td>
|
479 |
+
<td class="px-4 py-2 whitespace-nowrap">مدیران سیستم</td>
|
480 |
+
<td class="px-4 py-2 whitespace-nowrap">3</td>
|
481 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
482 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
483 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
484 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
485 |
+
</td>
|
486 |
+
</tr>
|
487 |
+
<tr class="table-row">
|
488 |
+
<td class="px-4 py-2 whitespace-nowrap">G002</td>
|
489 |
+
<td class="px-4 py-2 whitespace-nowrap">کاربران مالی</td>
|
490 |
+
<td class="px-4 py-2 whitespace-nowrap">8</td>
|
491 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
492 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
493 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
494 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
495 |
+
</td>
|
496 |
+
</tr>
|
497 |
+
<tr class="table-row">
|
498 |
+
<td class="px-4 py-2 whitespace-nowrap">G003</td>
|
499 |
+
<td class="px-4 py-2 whitespace-nowrap">کاربران تدارکات</td>
|
500 |
+
<td class="px-4 py-2 whitespace-nowrap">5</td>
|
501 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
502 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
503 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
504 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
505 |
+
</td>
|
506 |
+
</tr>
|
507 |
+
</tbody>
|
508 |
+
</table>
|
509 |
+
</div>
|
510 |
+
</div>
|
511 |
+
|
512 |
+
<!-- Add/Edit Form (Hidden by default) -->
|
513 |
+
<div id="user-group-form" class="bg-white p-4 rounded-lg shadow hidden">
|
514 |
+
<h3 class="font-semibold mb-4">فرم تعریف گروه کاربری</h3>
|
515 |
+
<form>
|
516 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
517 |
+
<div>
|
518 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">کد گروه</label>
|
519 |
+
<input type="text" class="form-input">
|
520 |
+
</div>
|
521 |
+
<div>
|
522 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">نام گروه</label>
|
523 |
+
<input type="text" class="form-input">
|
524 |
+
</div>
|
525 |
+
<div>
|
526 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">دسترسیها</label>
|
527 |
+
<select multiple class="form-input h-32">
|
528 |
+
<option>مدیریت واحدهای سازمانی</option>
|
529 |
+
<option>مدیریت پستها</option>
|
530 |
+
<option>مدیریت گروهها</option>
|
531 |
+
<option>مدیریت کاربران</option>
|
532 |
+
<option>ثبت رویدادها</option>
|
533 |
+
<option>تایید رویدادها</option>
|
534 |
+
</select>
|
535 |
+
</div>
|
536 |
+
<div>
|
537 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">وضعیت</label>
|
538 |
+
<select class="form-input">
|
539 |
+
<option>فعال</option>
|
540 |
+
<option>غیرفعال</option>
|
541 |
+
</select>
|
542 |
+
</div>
|
543 |
+
</div>
|
544 |
+
<div class="flex justify-end">
|
545 |
+
<button type="button" onclick="hideForm('user-group-form')" class="bg-gray-300 text-gray-700 px-4 py-2 rounded hover:bg-gray-400 mr-2">انصراف</button>
|
546 |
+
<button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">ذخیره</button>
|
547 |
+
</div>
|
548 |
+
</form>
|
549 |
+
</div>
|
550 |
+
</div>
|
551 |
+
|
552 |
+
<!-- Users Section -->
|
553 |
+
<div id="users" class="section-content hidden">
|
554 |
+
<div class="bg-white p-4 rounded-lg shadow mb-4">
|
555 |
+
<div class="flex justify-between items-center mb-4">
|
556 |
+
<h3 class="font-semibold">کاربران سیستم</h3>
|
557 |
+
<button onclick="showForm('user-form')" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
|
558 |
+
<i class="fas fa-plus ml-2"></i>کاربر جدید
|
559 |
+
</button>
|
560 |
+
</div>
|
561 |
+
<div class="mb-4">
|
562 |
+
<div class="relative">
|
563 |
+
<input type="text" placeholder="جستجو در کاربران..." class="form-input pr-10">
|
564 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
565 |
+
</div>
|
566 |
+
</div>
|
567 |
+
<div class="overflow-x-auto">
|
568 |
+
<table class="min-w-full divide-y divide-gray-200">
|
569 |
+
<thead class="bg-gray-50">
|
570 |
+
<tr>
|
571 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد کاربری</th>
|
572 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام کامل</th>
|
573 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">پست سازمانی</th>
|
574 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">گروه کاربری</th>
|
575 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">وضعیت</th>
|
576 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">عملیات</th>
|
577 |
+
</tr>
|
578 |
+
</thead>
|
579 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
580 |
+
<tr class="table-row">
|
581 |
+
<td class="px-4 py-2 whitespace-nowrap">U001</td>
|
582 |
+
<td class="px-4 py-2 whitespace-nowrap">محمد رضایی</td>
|
583 |
+
<td class="px-4 py-2 whitespace-nowrap">مدیر مالی</td>
|
584 |
+
<td class="px-4 py-2 whitespace-nowrap">کاربران مالی</td>
|
585 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
586 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
587 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
588 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
589 |
+
</td>
|
590 |
+
</tr>
|
591 |
+
<tr class="table-row">
|
592 |
+
<td class="px-4 py-2 whitespace-nowrap">U002</td>
|
593 |
+
<td class="px-4 py-2 whitespace-nowrap">فاطمه محمدی</td>
|
594 |
+
<td class="px-4 py-2 whitespace-nowrap">حسابدار</td>
|
595 |
+
<td class="px-4 py-2 whitespace-nowrap">کاربران مالی</td>
|
596 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
597 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
598 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
599 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
600 |
+
</td>
|
601 |
+
</tr>
|
602 |
+
<tr class="table-row">
|
603 |
+
<td class="px-4 py-2 whitespace-nowrap">U003</td>
|
604 |
+
<td class="px-4 py-2 whitespace-nowrap">علی حسینی</td>
|
605 |
+
<td class="px-4 py-2 whitespace-nowrap">کارشناس خرید</td>
|
606 |
+
<td class="px-4 py-2 whitespace-nowrap">کاربران تدارکات</td>
|
607 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
608 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
609 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
610 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
611 |
+
</td>
|
612 |
+
</tr>
|
613 |
+
</tbody>
|
614 |
+
</table>
|
615 |
+
</div>
|
616 |
+
</div>
|
617 |
+
|
618 |
+
<!-- Add/Edit Form (Hidden by default) -->
|
619 |
+
<div id="user-form" class="bg-white p-4 rounded-lg shadow hidden">
|
620 |
+
<h3 class="font-semibold mb-4">فرم تعریف کاربر</h3>
|
621 |
+
<form>
|
622 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
623 |
+
<div>
|
624 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">کد کاربری</label>
|
625 |
+
<input type="text" class="form-input">
|
626 |
+
</div>
|
627 |
+
<div>
|
628 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">نام کاربری</label>
|
629 |
+
<input type="text" class="form-input">
|
630 |
+
</div>
|
631 |
+
<div>
|
632 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">نام کامل</label>
|
633 |
+
<input type="text" class="form-input">
|
634 |
+
</div>
|
635 |
+
<div>
|
636 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">رمز عبور</label>
|
637 |
+
<input type="password" class="form-input">
|
638 |
+
</div>
|
639 |
+
<div>
|
640 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">پست سازمانی</label>
|
641 |
+
<select class="form-input">
|
642 |
+
<option>انتخاب کنید</option>
|
643 |
+
<option>مدیر مالی</option>
|
644 |
+
<option>حسابدار</option>
|
645 |
+
<option>کارشناس خرید</option>
|
646 |
+
</select>
|
647 |
+
</div>
|
648 |
+
<div>
|
649 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">گروه کاربری</label>
|
650 |
+
<select class="form-input">
|
651 |
+
<option>انتخاب کنید</option>
|
652 |
+
<option>مدیران سیستم</option>
|
653 |
+
<option>کاربران مالی</option>
|
654 |
+
<option>کاربران تدارکات</option>
|
655 |
+
</select>
|
656 |
+
</div>
|
657 |
+
<div>
|
658 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">وضعیت</label>
|
659 |
+
<select class="form-input">
|
660 |
+
<option>فعال</option>
|
661 |
+
<option>غیرفعال</option>
|
662 |
+
</select>
|
663 |
+
</div>
|
664 |
+
</div>
|
665 |
+
<div class="flex justify-end">
|
666 |
+
<button type="button" onclick="hideForm('user-form')" class="bg-gray-300 text-gray-700 px-4 py-2 rounded hover:bg-gray-400 mr-2">انصراف</button>
|
667 |
+
<button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">ذخیره</button>
|
668 |
+
</div>
|
669 |
+
</form>
|
670 |
+
</div>
|
671 |
+
</div>
|
672 |
+
|
673 |
+
<!-- Account Levels Section -->
|
674 |
+
<div id="account-levels" class="section-content hidden">
|
675 |
+
<div class="bg-white p-4 rounded-lg shadow">
|
676 |
+
<h3 class="font-semibold mb-4">سطوح حسابداری</h3>
|
677 |
+
<div class="mb-6">
|
678 |
+
<div class="flex items-center mb-2">
|
679 |
+
<div class="w-8 h-8 bg-blue-600 text-white rounded-full flex items-center justify-center">1</div>
|
680 |
+
<h4 class="mr-2 font-medium">حساب کل</h4>
|
681 |
+
</div>
|
682 |
+
<p class="text-gray-600 text-sm mr-10">سطح اول ساختار حسابها که شامل گروههای اصلی حسابها میشود مانند داراییها، بدهیها، سرمایه، درآمد و هزینه</p>
|
683 |
+
</div>
|
684 |
+
<div class="mb-6">
|
685 |
+
<div class="flex items-center mb-2">
|
686 |
+
<div class="w-8 h-8 bg-blue-600 text-white rounded-full flex items-center justify-center">2</div>
|
687 |
+
<h4 class="mr-2 font-medium">حساب معین</h4>
|
688 |
+
</div>
|
689 |
+
<p class="text-gray-600 text-sm mr-10">سطح دوم که زیرمجموعه حساب کل بوده و جزئیات بیشتری ارائه میدهد مانند بانکها، حسابهای دریافتنی، حسابهای پرداختنی</p>
|
690 |
+
</div>
|
691 |
+
<div class="mb-6">
|
692 |
+
<div class="flex items-center mb-2">
|
693 |
+
<div class="w-8 h-8 bg-blue-600 text-white rounded-full flex items-center justify-center">3</div>
|
694 |
+
<h4 class="mr-2 font-medium">حساب تفصیلی سطح ۴</h4>
|
695 |
+
</div>
|
696 |
+
<p class="text-gray-600 text-sm mr-10">سطح سوم که معمولاً برای تفکیک شرکتهای زیرمجموعه یا بخشهای مختلف سازمان استفاده میشود</p>
|
697 |
+
</div>
|
698 |
+
<div class="mb-6">
|
699 |
+
<div class="flex items-center mb-2">
|
700 |
+
<div class="w-8 h-8 bg-blue-600 text-white rounded-full flex items-center justify-center">4</div>
|
701 |
+
<h4 class="mr-2 font-medium">حساب تفصیلی سطح ۵</h4>
|
702 |
+
</div>
|
703 |
+
<p class="text-gray-600 text-sm mr-10">سطح چهارم که معمولاً برای تفکیک پروژهها یا مراکز هزینه استفاده میشود</p>
|
704 |
+
</div>
|
705 |
+
<div>
|
706 |
+
<div class="flex items-center mb-2">
|
707 |
+
<div class="w-8 h-8 bg-blue-600 text-white rounded-full flex items-center justify-center">5</div>
|
708 |
+
<h4 class="mr-2 font-medium">حساب تفصیلی سطح ۶</h4>
|
709 |
+
</div>
|
710 |
+
<p class="text-gray-600 text-sm mr-10">سطح پنجم که برای جزئیات بیشتر مانند شماره حساب بانکی یا شماره چک استفاده میشود</p>
|
711 |
+
</div>
|
712 |
+
</div>
|
713 |
+
</div>
|
714 |
+
|
715 |
+
<!-- Subsidiary Accounts Section -->
|
716 |
+
<div id="subsidiary-accounts" class="section-content hidden">
|
717 |
+
<div class="bg-white p-4 rounded-lg shadow mb-4">
|
718 |
+
<div class="flex justify-between items-center mb-4">
|
719 |
+
<h3 class="font-semibold">حسابهای معین</h3>
|
720 |
+
<button onclick="showForm('subsidiary-account-form')" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
|
721 |
+
<i class="fas fa-plus ml-2"></i>حساب جدید
|
722 |
+
</button>
|
723 |
+
</div>
|
724 |
+
<div class="mb-4">
|
725 |
+
<div class="relative">
|
726 |
+
<input type="text" placeholder="جستجو در حسابهای معین..." class="form-input pr-10">
|
727 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
728 |
+
</div>
|
729 |
+
</div>
|
730 |
+
<div class="overflow-x-auto">
|
731 |
+
<table class="min-w-full divide-y divide-gray-200">
|
732 |
+
<thead class="bg-gray-50">
|
733 |
+
<tr>
|
734 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد حساب کل</th>
|
735 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام حساب کل</th>
|
736 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد معین</th>
|
737 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام معین</th>
|
738 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">وضعیت</th>
|
739 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">عملیات</th>
|
740 |
+
</tr>
|
741 |
+
</thead>
|
742 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
743 |
+
<tr class="table-row">
|
744 |
+
<td class="px-4 py-2 whitespace-nowrap">101</td>
|
745 |
+
<td class="px-4 py-2 whitespace-nowrap">بانکها</td>
|
746 |
+
<td class="px-4 py-2 whitespace-nowrap">101010</td>
|
747 |
+
<td class="px-4 py-2 whitespace-nowrap">بانکهای ریالی</td>
|
748 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
749 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
750 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
751 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
752 |
+
</td>
|
753 |
+
</tr>
|
754 |
+
<tr class="table-row">
|
755 |
+
<td class="px-4 py-2 whitespace-nowrap">101</td>
|
756 |
+
<td class="px-4 py-2 whitespace-nowrap">بانکها</td>
|
757 |
+
<td class="px-4 py-2 whitespace-nowrap">101020</td>
|
758 |
+
<td class="px-4 py-2 whitespace-nowrap">بانکهای ارزی</td>
|
759 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
760 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
761 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
762 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
763 |
+
</td>
|
764 |
+
</tr>
|
765 |
+
<tr class="table-row">
|
766 |
+
<td class="px-4 py-2 whitespace-nowrap">121</td>
|
767 |
+
<td class="px-4 py-2 whitespace-nowrap">حسابهای دریافتنی</td>
|
768 |
+
<td class="px-4 py-2 whitespace-nowrap">121010</td>
|
769 |
+
<td class="px-4 py-2 whitespace-nowrap">مشتریان داخلی</td>
|
770 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
771 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
772 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
773 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
774 |
+
</td>
|
775 |
+
</tr>
|
776 |
+
</tbody>
|
777 |
+
</table>
|
778 |
+
</div>
|
779 |
+
</div>
|
780 |
+
|
781 |
+
<!-- Add/Edit Form (Hidden by default) -->
|
782 |
+
<div id="subsidiary-account-form" class="bg-white p-4 rounded-lg shadow hidden">
|
783 |
+
<h3 class="font-semibold mb-4">فرم تعریف حساب معین</h3>
|
784 |
+
<form>
|
785 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
786 |
+
<div>
|
787 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">حساب کل</label>
|
788 |
+
<select class="form-input">
|
789 |
+
<option>انتخاب کنید</option>
|
790 |
+
<option value="101">101 - بانکها</option>
|
791 |
+
<option value="121">121 - حسابهای دریافتنی</option>
|
792 |
+
<option value="131">131 - حسابهای پرداختنی</option>
|
793 |
+
</select>
|
794 |
+
</div>
|
795 |
+
<div>
|
796 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">کد معین</label>
|
797 |
+
<input type="text" class="form-input">
|
798 |
+
</div>
|
799 |
+
<div>
|
800 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">نام معین</label>
|
801 |
+
<input type="text" class="form-input">
|
802 |
+
</div>
|
803 |
+
<div>
|
804 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">وضعیت</label>
|
805 |
+
<select class="form-input">
|
806 |
+
<option>فعال</option>
|
807 |
+
<option>غیرفعال</option>
|
808 |
+
</select>
|
809 |
+
</div>
|
810 |
+
</div>
|
811 |
+
<div class="flex justify-end">
|
812 |
+
<button type="button" onclick="hideForm('subsidiary-account-form')" class="bg-gray-300 text-gray-700 px-4 py-2 rounded hover:bg-gray-400 mr-2">انصراف</button>
|
813 |
+
<button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">ذخیره</button>
|
814 |
+
</div>
|
815 |
+
</form>
|
816 |
+
</div>
|
817 |
+
</div>
|
818 |
+
|
819 |
+
<!-- Level 4 Accounts Section -->
|
820 |
+
<div id="level4-accounts" class="section-content hidden">
|
821 |
+
<div class="bg-white p-4 rounded-lg shadow mb-4">
|
822 |
+
<div class="flex justify-between items-center mb-4">
|
823 |
+
<h3 class="font-semibold">حسابهای تفصیلی سطح ۴</h3>
|
824 |
+
<button onclick="showForm('level4-account-form')" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
|
825 |
+
<i class="fas fa-plus ml-2"></i>حساب جدید
|
826 |
+
</button>
|
827 |
+
</div>
|
828 |
+
<div class="mb-4">
|
829 |
+
<div class="relative">
|
830 |
+
<input type="text" placeholder="جستجو در حسابهای تفصیلی سطح ۴..." class="form-input pr-10">
|
831 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
832 |
+
</div>
|
833 |
+
</div>
|
834 |
+
<div class="overflow-x-auto">
|
835 |
+
<table class="min-w-full divide-y divide-gray-200">
|
836 |
+
<thead class="bg-gray-50">
|
837 |
+
<tr>
|
838 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد معین</th>
|
839 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام معین</th>
|
840 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد سطح ۴</th>
|
841 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام سطح ۴</th>
|
842 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">وضعیت</th>
|
843 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">عملیات</th>
|
844 |
+
</tr>
|
845 |
+
</thead>
|
846 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
847 |
+
<tr class="table-row">
|
848 |
+
<td class="px-4 py-2 whitespace-nowrap">101010</td>
|
849 |
+
<td class="px-4 py-2 whitespace-nowrap">بانکهای ریالی</td>
|
850 |
+
<td class="px-4 py-2 whitespace-nowrap">00001</td>
|
851 |
+
<td class="px-4 py-2 whitespace-nowrap">شرکت الف</td>
|
852 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
853 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
854 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
855 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
856 |
+
</td>
|
857 |
+
</tr>
|
858 |
+
<tr class="table-row">
|
859 |
+
<td class="px-4 py-2 whitespace-nowrap">101010</td>
|
860 |
+
<td class="px-4 py-2 whitespace-nowrap">بانکهای ریالی</td>
|
861 |
+
<td class="px-4 py-2 whitespace-nowrap">00002</td>
|
862 |
+
<td class="px-4 py-2 whitespace-nowrap">شرکت ب</td>
|
863 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
864 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
865 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
866 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
867 |
+
</td>
|
868 |
+
</tr>
|
869 |
+
<tr class="table-row">
|
870 |
+
<td class="px-4 py-2 whitespace-nowrap">121010</td>
|
871 |
+
<td class="px-4 py-2 whitespace-nowrap">مشتریان داخلی</td>
|
872 |
+
<td class="px-4 py-2 whitespace-nowrap">00001</td>
|
873 |
+
<td class="px-4 py-2 whitespace-nowrap">شرکت ج</td>
|
874 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
875 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
876 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
877 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
878 |
+
</td>
|
879 |
+
</tr>
|
880 |
+
</tbody>
|
881 |
+
</table>
|
882 |
+
</div>
|
883 |
+
</div>
|
884 |
+
|
885 |
+
<!-- Add/Edit Form (Hidden by default) -->
|
886 |
+
<div id="level4-account-form" class="bg-white p-4 rounded-lg shadow hidden">
|
887 |
+
<h3 class="font-semibold mb-4">فرم تعریف حساب تفصیلی سطح ۴</h3>
|
888 |
+
<form>
|
889 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
890 |
+
<div>
|
891 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">حساب معین</label>
|
892 |
+
<select class="form-input">
|
893 |
+
<option>انتخاب کنید</option>
|
894 |
+
<option value="101010">101010 - بانکهای ریالی</option>
|
895 |
+
<option value="101020">101020 - بانکهای ارزی</option>
|
896 |
+
<option value="121010">121010 - مشتریان داخلی</option>
|
897 |
+
</select>
|
898 |
+
</div>
|
899 |
+
<div>
|
900 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">کد سطح ۴</label>
|
901 |
+
<input type="text" class="form-input">
|
902 |
+
</div>
|
903 |
+
<div>
|
904 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">نام سطح ۴</label>
|
905 |
+
<input type="text" class="form-input">
|
906 |
+
</div>
|
907 |
+
<div>
|
908 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">وضعیت</label>
|
909 |
+
<select class="form-input">
|
910 |
+
<option>فعال</option>
|
911 |
+
<option>غیرفعال</option>
|
912 |
+
</select>
|
913 |
+
</div>
|
914 |
+
</div>
|
915 |
+
<div class="flex justify-end">
|
916 |
+
<button type="button" onclick="hideForm('level4-account-form')" class="bg-gray-300 text-gray-700 px-4 py-2 rounded hover:bg-gray-400 mr-2">انصراف</button>
|
917 |
+
<button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">ذخیره</button>
|
918 |
+
</div>
|
919 |
+
</form>
|
920 |
+
</div>
|
921 |
+
</div>
|
922 |
+
|
923 |
+
<!-- Level 5 Accounts Section -->
|
924 |
+
<div id="level5-accounts" class="section-content hidden">
|
925 |
+
<div class="bg-white p-4 rounded-lg shadow mb-4">
|
926 |
+
<div class="flex justify-between items-center mb-4">
|
927 |
+
<h3 class="font-semibold">حسابهای تفصیلی سطح ۵</h3>
|
928 |
+
<button onclick="showForm('level5-account-form')" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
|
929 |
+
<i class="fas fa-plus ml-2"></i>حساب جدید
|
930 |
+
</button>
|
931 |
+
</div>
|
932 |
+
<div class="mb-4">
|
933 |
+
<div class="relative">
|
934 |
+
<input type="text" placeholder="جستجو در حسابهای تفصیلی سطح ۵..." class="form-input pr-10">
|
935 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
936 |
+
</div>
|
937 |
+
</div>
|
938 |
+
<div class="overflow-x-auto">
|
939 |
+
<table class="min-w-full divide-y divide-gray-200">
|
940 |
+
<thead class="bg-gray-50">
|
941 |
+
<tr>
|
942 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد سطح ۴</th>
|
943 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام سطح ۴</th>
|
944 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد سطح ۵</th>
|
945 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">نام سطح ۵</th>
|
946 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">وضعیت</th>
|
947 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">عملیات</th>
|
948 |
+
</tr>
|
949 |
+
</thead>
|
950 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
951 |
+
<tr class="table-row">
|
952 |
+
<td class="px-4 py-2 whitespace-nowrap">00001</td>
|
953 |
+
<td class="px-4 py-2 whitespace-nowrap">شرکت الف</td>
|
954 |
+
<td class="px-4 py-2 whitespace-nowrap">00001</td>
|
955 |
+
<td class="px-4 py-2 whitespace-nowrap">پروژه الف</td>
|
956 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
957 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
958 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
959 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
960 |
+
</td>
|
961 |
+
</tr>
|
962 |
+
<tr class="table-row">
|
963 |
+
<td class="px-4 py-2 whitespace-nowrap">00001</td>
|
964 |
+
<td class="px-4 py-2 whitespace-nowrap">شرکت الف</td>
|
965 |
+
<td class="px-4 py-2 whitespace-nowrap">00002</td>
|
966 |
+
<td class="px-4 py-2 whitespace-nowrap">پروژه ب</td>
|
967 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
968 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
969 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
970 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
971 |
+
</td>
|
972 |
+
</tr>
|
973 |
+
<tr class="table-row">
|
974 |
+
<td class="px-4 py-2 whitespace-nowrap">00002</td>
|
975 |
+
<td class="px-4 py-2 whitespace-nowrap">شرکت ب</td>
|
976 |
+
<td class="px-4 py-2 whitespace-nowrap">00001</td>
|
977 |
+
<td class="px-4 py-2 whitespace-nowrap">پروژه ج</td>
|
978 |
+
<td class="px-4 py-2 whitespace-nowrap"><span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">فعال</span></td>
|
979 |
+
<td class="px-4 py-2 whitespace-nowrap">
|
980 |
+
<button class="text-blue-600 hover:text-blue-800 mr-2"><i class="fas fa-edit"></i></button>
|
981 |
+
<button class="text-red-600 hover:text-red-800"><i class="fas fa-trash"></i></button>
|
982 |
+
</td>
|
983 |
+
</tr>
|
984 |
+
</tbody>
|
985 |
+
</table>
|
986 |
+
</div>
|
987 |
+
</div>
|
988 |
+
<script>
|
989 |
+
function showSection(id) {
|
990 |
+
document.querySelectorAll('.section-content').forEach(section => {
|
991 |
+
section.classList.add('hidden');
|
992 |
+
});
|
993 |
+
document.getElementById(id).classList.remove('hidden');
|
994 |
+
|
995 |
+
const titles = {
|
996 |
+
'dashboard': 'داشبورد',
|
997 |
+
'org-units': 'واحدهای سازمانی',
|
998 |
+
'job-positions': 'پستهای سازمانی',
|
999 |
+
'user-groups': 'گروههای کاربری',
|
1000 |
+
'users': 'کاربران',
|
1001 |
+
'account-levels': 'سطوح حسابداری',
|
1002 |
+
'subsidiary-accounts': 'حسابهای معین',
|
1003 |
+
'level4-accounts': 'حسابهای تفصیلی ��طح ۴',
|
1004 |
+
'level5-accounts': 'حسابهای تفصیلی سطح ۵',
|
1005 |
+
'level6-accounts': 'حسابهای تفصیلی سطح ۶',
|
1006 |
+
'activities': 'فعالیتها',
|
1007 |
+
'events': 'رویدادها',
|
1008 |
+
'record-events': 'ثبت رویدادها',
|
1009 |
+
'tracking-codes': 'کدهای رهگیری',
|
1010 |
+
'tasks': 'کارتابل',
|
1011 |
+
'reports': 'گزارشات',
|
1012 |
+
'settings': 'تنظیمات'
|
1013 |
+
};
|
1014 |
+
document.getElementById('section-title').textContent = titles[id] || '';
|
1015 |
+
}
|
1016 |
+
|
1017 |
+
function showForm(id) {
|
1018 |
+
document.getElementById(id).classList.remove('hidden');
|
1019 |
+
}
|
1020 |
+
|
1021 |
+
function hideForm(id) {
|
1022 |
+
document.getElementById(id).classList.add('hidden');
|
1023 |
+
}
|
1024 |
+
|
1025 |
+
document.addEventListener("DOMContentLoaded", function() {
|
1026 |
+
showSection('dashboard');
|
1027 |
+
});
|
1028 |
+
</script>
|
1029 |
+
|
1030 |
+
|
1031 |
+
<!-- Add/Edit Form (Hidden by default) -->
|
1032 |
+
<div id="level5-account-form" class="bg-white p-4 rounded-lg shadow hidden">
|
1033 |
+
<h3 class="font-semibold mb-4">فرم تعریف حساب تفصیلی سطح ۵</h3>
|
1034 |
+
<form>
|
1035 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
1036 |
+
<div>
|
1037 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">حساب سطح ۴</label>
|
1038 |
+
<select class="form-input">
|
1039 |
+
<option>انتخاب کنید</option>
|
1040 |
+
<option value="00001">00001 - شرکت الف</option>
|
1041 |
+
<option value="00002">00002 - شرکت ب</option>
|
1042 |
+
<option value="00003">00003 - شرکت ج</option>
|
1043 |
+
</select>
|
1044 |
+
</div>
|
1045 |
+
<div>
|
1046 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">کد سطح ۵</label>
|
1047 |
+
<input type="text" class="form-input">
|
1048 |
+
</div>
|
1049 |
+
<div>
|
1050 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">نام سطح ۵</label>
|
1051 |
+
<input type="text" class="form-input">
|
1052 |
+
</div>
|
1053 |
+
<div>
|
1054 |
+
<label class="block text-sm font-medium text-gray-700 mb-1">وضعیت</label>
|
1055 |
+
<select class="form-input">
|
1056 |
+
<option>فعال</option>
|
1057 |
+
<option>غیرفعال</option>
|
1058 |
+
</select>
|
1059 |
+
</div>
|
1060 |
+
</div>
|
1061 |
+
<div class="flex justify-end">
|
1062 |
+
<button type="button" onclick="hideForm('level5-account-form')" class="bg-gray-300 text-gray-700 px-4 py-2 rounded hover:bg-gray-400 mr-2">انصراف</button>
|
1063 |
+
<button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">ذخیره</button>
|
1064 |
+
</div>
|
1065 |
+
</form>
|
1066 |
+
</div>
|
1067 |
+
</div>
|
1068 |
+
|
1069 |
+
<!-- Level 6 Accounts Section -->
|
1070 |
+
<div id="level6-accounts" class="section-content hidden">
|
1071 |
+
<div class="bg-white p-4 rounded-lg shadow mb-4">
|
1072 |
+
<div class="flex justify-between items-center mb-4">
|
1073 |
+
<h3 class="font-semibold">حسابهای تفصیلی سطح ۶</h3>
|
1074 |
+
<button onclick="showForm('level6-account-form')" class="bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700">
|
1075 |
+
<i class="fas fa-plus ml-2"></i>حساب جدید
|
1076 |
+
</button>
|
1077 |
+
</div>
|
1078 |
+
<div class="mb-4">
|
1079 |
+
<div class="relative">
|
1080 |
+
<input type="text" placeholder="جستجو در حسابهای تفصیلی سطح ۶..." class="form-input pr-10">
|
1081 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
1082 |
+
</div>
|
1083 |
+
</div>
|
1084 |
+
<div class="overflow-x-auto">
|
1085 |
+
<table class="min-w-full divide-y divide-gray-200">
|
1086 |
+
<thead class="bg-gray-50">
|
1087 |
+
<tr>
|
1088 |
+
<th class="px-4 py-2 text-right text-xs font-medium text-gray-500 uppercase tracking-wider">کد
|
1089 |
+
</html>
|