/* {{vtHeader: Content-Type: text/javascript}} {{vtScript}} {{vtAsAdmin}} ## verarbeitet alle Bestellungen, die noch nicht an pxprint.net übertragen wurden {{vtIf: {vtGlobal:pxtcPxprintExecution} .neq. 1 }} {{vtSelect: -origin="/", -type="order", -filter="{pxprint_order_id} .eq."}} {{vtLoop}} {{vtInclude: order.pxprint.html}} {{vtEndLoop}} {{vtEndSelect}} {{vtEndIf}} ## erzeugt ggf. Rechnung für aktuelle Bestellung in Easybill {{vtIf: {vtGetValue:o} .gt. 0 .and. {vtGlobal:pxtcEasybillApiKey} .neq. .and. {vtGlobal:pxtcEasybillAutoCreate} .eq. 1 }} {{vtUse: {vtGetValue:o} }} {{vtInclude: order.easybill.html}} {{vtIf: {easybill_error} .neq. .and. {vtGlobal:mailRecipient} .neq.}} {{vtSet: Message="{vtInclude:mails/easybill_error.txt}"}} {{vtDo: -act="mail", -to="{vtGlobal:mailRecipient}", -subject="Fehler bei Rechnungserstellung (Bestell-Nr. {Nummer})", -message="{vtGet:Message,raw}"}} {{vtEndIf}} {{vtEndUse}} {{vtEndIf}} {{vtEndAsAdmin}} {{vtEndScript}} */