u
This commit is contained in:
@@ -118,4 +118,15 @@ export const delivery = {
|
||||
return http(`/api/delivery/${id}/file/${fileId}`, { method: 'DELETE' });
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/**
|
||||
* POST /api/delivery/:id/pdf
|
||||
* Generates the "Wareneingang" PDF and stores it as a manifest attachment.
|
||||
* → 201 { attachment, fileUrl }
|
||||
*/
|
||||
// #region POST /api/delivery/:id/pdf — createPdf
|
||||
createPdf(id) {
|
||||
return http(`/api/delivery/${id}/pdf`, { method: 'POST' });
|
||||
},
|
||||
// #endregion
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user