@davoodmehraban89 / Factor-easy / commits / dd5f01c
Fork 0

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

Add contact and project attribution to expenses

davoodmehraban89 committed Sep 28, 2026 at 15:08 UTC dd5f01c9a7e60f67ecc706e10798e042e8875589
1 file changed +3 -1
index.html
+3 -1
@@ -478,6 +478,8 @@ html,body{background:#fff!important;color:#000!important;margin:0!important;padd
478 <div class="form-row">
479 <div class="form-group"><label>نوع</label><select id="trx-kind-input" class="form-control"><option value="expense">هزینه</option><option value="income">درآمد</option></select></div>
480 <div class="form-group"><label>سرفصل</label><select id="trx-category-input" class="form-control"><option value="قبوض">قبوض</option><option value="حقوق">حقوق</option><option value="سایر">سایر</option></select></div>
481 +<div class="form-group"><label>طرف حساب (اختیاری)</label><select id="trx-contact-select" class="form-control" onchange="refreshExpenseProjects()"><option value="">بدون طرف حساب</option></select></div>
482 +<div class="form-group"><label>پروژه / مرکز هزینه (اختیاری)</label><select id="trx-project-select" class="form-control"><option value="">بدون پروژه</option></select></div>
483 <div class="form-group"><label>مبلغ (<span class="cur-label">ریال</span>)</label><input type="text" inputmode="decimal" id="trx-amount-input" class="form-control" oninput="handleMoneyInput(this)" /></div>
484 <div class="form-group"><label>شرح</label><input type="text" id="trx-desc-input" class="form-control" /></div>
485 </div>
@@ -485,7 +487,7 @@ html,body{background:#fff!important;color:#000!important;margin:0!important;padd
487 </div>
488 <div class="card">
489 <h3 style="font-size:15px;margin-bottom:12px">گردش هزینه و درآمد</h3>
488 -<div class="table-responsive"><table><thead><tr><th>نوع</th><th>سرفصل</th><th>شرح</th><th>مبلغ (<span class="cur-label">ریال</span>)</th><th>عملیات</th></tr></thead><tbody id="expenses-ledger-table-body"></tbody></table></div>
490 +<div class="table-responsive"><table><thead><tr><th>نوع</th><th>سرفصل</th><th>طرف حساب</th><th>پروژه / مرکز هزینه</th><th>شرح</th><th>مبلغ (<span class="cur-label">ریال</span>)</th><th>عملیات</th></tr></thead><tbody id="expenses-ledger-table-body"></tbody></table></div>
491 </div>
492 </section>
493