This commit is contained in:
2026-05-12 20:24:55 +03:30
parent cd973aa1a0
commit cee708209e
@@ -132,8 +132,9 @@ export class NativeBridgeService {
return { success: false, error: 'متاسفانه ارتباط با چاپگر برقرار نیست.' };
}
try {
this.toastService.info({ text: 'در حال چاپ ...' });
// @ts-ignore
window.NativeBridge.print(JSON.stringify([payload]));
window.NativeBridge.print(JSON.stringify(payload));
return { success: true };
} catch (error) {
this.toastService.warn({ text: 'متاسفانه ارتباط با چاپگر برقرار نیست.' });