سامانه صدور فاکتور و حسابداری

Expose purchase and sales invoice modes

davoodmehraban89 committed Sep 28, 2026 at 12:37 UTC 2566c5783b4e13403e1008fcf5d4f0cf262c1db9
1 file changed +3 -1
index.html
+3 -1
@@ -274,7 +274,9 @@ html,body{background:#fff!important;color:#000!important;margin:0!important;padd
274 <div class="card no-print">
275 <div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;flex-wrap:wrap;gap:10px">
276 <h2 style="font-size:17px" id="invoice-form-title">صدور فاکتور جدید</h2>
277 -<div style="display:flex;gap:8px">
277 +<div style="display:flex;gap:8px;flex-wrap:wrap;align-items:center">
278 +<button type="button" class="btn btn-primary btn-inline" style="min-height:34px;padding:4px 12px;font-size:12px" onclick="switchView('view-invoices')">🧾 فاکتور فروش</button>
279 +<button type="button" class="btn btn-secondary btn-inline" style="min-height:34px;padding:4px 12px;font-size:12px" onclick="switchView('view-purchases')">🛒 فاکتور خرید</button>
280 <label class="btn btn-secondary btn-inline" style="min-height:34px;padding:4px 10px;font-size:12px">📥 ورود اقلام از اکسل<input type="file" id="excel-import-invoice-items" style="display:none" onchange="importInvoiceItemsFromExcel(event)" accept=".xlsx, .xls" /></label>
281 <button class="btn btn-secondary btn-inline" style="display:none;padding:4px 10px;font-size:12px" id="btn-cancel-edit" onclick="cancelInvoiceEdit()">انصراف از ویرایش</button>
282 </div>