mongo projekcija proširena property-em "hasAttachment"
This commit is contained in:
@@ -42,6 +42,11 @@ export interface Bill {
|
||||
payedAmount?: number | null;
|
||||
/** attached document (optional) */
|
||||
attachment?: BillAttachment|null;
|
||||
/**
|
||||
* true if there an attachment
|
||||
* @description this field enables us to send this info to the client without sending large attachment - it's an optimization
|
||||
*/
|
||||
hasAttachment: boolean;
|
||||
/** (optional) notes */
|
||||
notes?: string|null;
|
||||
/** (optional) image data containing PDF471 bar code */
|
||||
|
||||
Reference in New Issue
Block a user