Server Error when printing PDF invoices in my Teable app

When I try to preview or print PDF invoices in my app built with Teable App Builder, I get a Server Error and a blank page saying “This page couldn’t load.”

Please help fix this. Could the app use browser printing (window.print()) instead of server-side PDF generation, and handle empty or differently formatted QR code and barcode values without preventing the page from loading?

الفني:
“السلام عليكم، واجهتنا مشكلة Server Error وشاشة بيضاء (This page couldn’t load) عند طلب طباعة الفواتير من كاشير رشفة. يرجى تمرير هذا الأمر البرمجي للمطورين المسؤولين لحقنه في النظام وإصلاح دالة توليد الـ PDF فوراً:
teable app update --app-id appIQjsaPwvysmcio4b --send-mode steer --prompt ‘إصلاح عاجل وفوري لشاشة معاينة وطباعة الفاتورة PDF. النظام يعطي Server Error عند طلب الطباعة بسبب فشل السيرفر في توليد الملف. قم بإلغاء أي اعتماد على سيرفرات خارجية أو عمليات تشفير معقدة تسبب الانهيار. اجعل دالة توليد وطباعة الفاتورة (Print/PDF function) تعتمد بالكامل على الطباعة المحلية من المتصفح (Window.print) وقراءة البيانات مباشرة من جدول Teable الحالي دون عمل Server-side rendering مكسور. تأكد من إزالة أي قيود برمجية على حقل QR أو الباركود تمنع تحميل الصفحة في حال وجود فراغ أو صيغة مختلفة. الصفحة يجب أن تفتح وتطبع فوراً دون شاشة This page couldn’t load.’”

Thanks for reporting this. It’s logged as T8083, and we’ll post updates in this topic as it moves along.

Hi @shahe , this appears to be an issue with the invoice functionality in your app. Please paste the repair instructions you shared directly into your app’s AI chat in Teable App Builder so it can investigate and update the app.

If App Builder itself encounters an error while making the changes, please share a screenshot and the error message here so we can investigate further.

Thanks for the suggestion. T8083 isn’t on our roadmap for now, so we’re closing this topic. We keep every request, and this one may come back as priorities change.