added notif 2

This commit is contained in:
2026-07-23 22:24:26 +03:30
parent d505f3b5bd
commit bd441a0e8e
31 changed files with 2105 additions and 34 deletions
@@ -62,7 +62,7 @@ const visibleProxy = computed({
function currentCodeOf(customer: Customer | null): string {
if (!customer) return ''
if (props.provider === 'pargar') return displayAccountingCode(customer.pargar_account_id)
if (props.provider === 'tahesab') return displayAccountingCode(customer.moshtari_code)
if (props.provider === 'tahesab' || props.provider === 'zarin') return displayAccountingCode(customer.moshtari_code)
return ''
}
@@ -81,7 +81,7 @@ function close() {
async function submit() {
if (!props.customer?.id) return
if (props.provider !== 'pargar' && props.provider !== 'tahesab') {
if (props.provider !== 'pargar' && props.provider !== 'tahesab' && props.provider !== 'zarin') {
message.error('حسابداری فعال نیست.')
return
}