mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
feat: wip attach attachments to resource models
This commit is contained in:
@@ -54,7 +54,7 @@ export class ExpenseDTOTransformer {
|
||||
|
||||
const initialDTO = {
|
||||
categories: [],
|
||||
...omit(expenseDTO, ['publish']),
|
||||
...omit(expenseDTO, ['publish', 'attachments']),
|
||||
totalAmount,
|
||||
landedCostAmount,
|
||||
paymentDate: moment(expenseDTO.paymentDate).toMySqlDateTime(),
|
||||
|
||||
Reference in New Issue
Block a user