added invoices and status in cockpit, created info button for contract status types
This commit is contained in:
@@ -185,6 +185,24 @@ router.post(
|
||||
cachedEmailController.saveEmailAsPdf
|
||||
);
|
||||
|
||||
// E-Mail als PDF exportieren und als Rechnung speichern
|
||||
// POST /api/emails/:id/save-as-invoice { invoiceDate, invoiceType, notes? }
|
||||
router.post(
|
||||
'/emails/:id/save-as-invoice',
|
||||
authenticate,
|
||||
requirePermission('contracts:update'),
|
||||
cachedEmailController.saveEmailAsInvoice
|
||||
);
|
||||
|
||||
// Anhang als Rechnung speichern
|
||||
// POST /api/emails/:id/attachments/:filename/save-as-invoice { invoiceDate, invoiceType, notes? }
|
||||
router.post(
|
||||
'/emails/:id/attachments/:filename/save-as-invoice',
|
||||
authenticate,
|
||||
requirePermission('contracts:update'),
|
||||
cachedEmailController.saveAttachmentAsInvoice
|
||||
);
|
||||
|
||||
// ==================== VERTRAGSZUORDNUNG ====================
|
||||
|
||||
// E-Mail Vertrag zuordnen
|
||||
|
||||
Reference in New Issue
Block a user