Hide export PDF option

This commit is contained in:
Hillel Coren 2019-02-28 09:26:17 +02:00
parent 27f0fb9474
commit 6c1bf7534a

View File

@ -585,9 +585,7 @@
var options = [
new ExportFormatModel('csv', 'CSV'),
new ExportFormatModel('xlsx', 'XLSX'),
@if (Utils::isSelfhost())
new ExportFormatModel('pdf', 'PDF'),
@endif
//new ExportFormatModel('pdf', 'PDF'),
]
if (['{{ ENTITY_INVOICE }}', '{{ ENTITY_QUOTE }}', '{{ ENTITY_EXPENSE }}', '{{ ENTITY_DOCUMENT }}'].indexOf(self.report_type()) >= 0) {