-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBillDetail.h
More file actions
30 lines (24 loc) · 690 Bytes
/
BillDetail.h
File metadata and controls
30 lines (24 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once
#include "Material.h"
#include "Bill.h"
struct BILLDETAILS
{
char materialsCode[material_maxSize_Code];
int quantity;
double unitPrice;
int percentVAT;
};
struct NODE_BILLDETAILS
{
BILLDETAILS data;
struct NODE_BILLDETAILS *pNext;
};
typedef struct NODE_BILLDETAILS* NBD;
void dslk_InitBD(NBD &bd);
NBD dslk_CreateNodeBD(BILLDETAILS data);
void dslk_addHeadBD(NBD &nb, NBD itemAdd);
bool dslk_removeNodeBD(NBD &nb, NBD itemDelete);
int dslk_Count(NODE_BILLDETAILS* bd);
void bd_Show(NBD bd, LIST_MATERIAL lm, LOCATION lcDisplay, int &bottom, int modeView);
void bd_Add(NBD &bd, LIST_MATERIAL &lm, char type);
void bd_Confirm(NBD &bd, LIST_MATERIAL &lm, char type);