Files
customerTicket/design-prototypes/chaharsu/payment-demo-data.js
T
2026-10-05 12:36:58 +03:30

18 lines
2.6 KiB
JavaScript

/* DESIGN FIXTURES ONLY. These are invalid bank numbers, never payment destinations.
Production: supply only payment notices addressed to the authenticated customer.
Account, card, IBAN, deposit reference, expected amount and invoice belong to EACH notice.
Do not replace this with a client-side list of all company bank accounts. */
window.chaharsuPaymentNotices = [
{id:'DEMO-101', title:'پرداخت فاکتور خرید لوله', invoice:'DEMO-F-1405-218', issued:'۱۴۰۵/۰۷/۱۲', author:'واحد فروش', amount:'280000000', currency:'ریال', bank:'بانک ملت (نمونه)', holder:'لوله گستر گلپایگان (نمونه)', account:'000000000101', iban:'IR000000000000000000000101', card:'0000000000000101', deposit:'000101218', description:'برای فاکتور اعلام‌شده واریز کنید و شناسهٔ واریز همین مورد را درج کنید. پس از پرداخت، تصویر فیش را از دکمهٔ زیر بفرستید.', receiptReceived:false},
{id:'DEMO-102', title:'پرداخت هزینهٔ حمل سفارش', invoice:'DEMO-F-1405-219', issued:'۱۴۰۵/۰۷/۱۱', author:'واحد مالی', amount:'18500000', currency:'ریال', bank:'بانک تجارت (نمونه)', holder:'لوله گستر گلپایگان (نمونه)', account:'000000000202', iban:'IR000000000000000000000202', card:null, deposit:'000202219', description:'این مورد مربوط به هزینهٔ حمل است و شماره حساب و شناسهٔ آن با فاکتور خرید متفاوت است.', receiptReceived:false},
{id:'DEMO-103', title:'تسویهٔ ماندهٔ فاکتور', invoice:'DEMO-F-1405-203', issued:'۱۴۰۵/۰۷/۰۹', author:'واحد مالی', amount:'96000000', currency:'ریال', bank:'بانک ملی (نمونه)', holder:'لوله گستر گلپایگان (نمونه)', account:'000000000303', iban:'IR000000000000000000000303', card:'0000000000000303', deposit:'000303203', description:'فیش قبلی این مورد دریافت شده و در انتظار بررسی کارشناس است. دریافت فیش به معنی تأیید نهایی پرداخت نیست.', receiptReceived:true}
];
/* DESTINATION FIXTURES ONLY: production must query authorized, active company accounts from the database.
Return opaque ID + display_name only to this dropdown; no account/card/IBAN numbers. */
window.chaharsuCompanyAccounts=[
{id:'DEMO-ACC-101',name:'حساب فروش شرکت — ملت'},
{id:'DEMO-ACC-202',name:'حساب هزینهٔ حمل — تجارت'},
{id:'DEMO-ACC-303',name:'حساب تسویهٔ شرکت — ملی'}
];