Skip to content

Commit cdda3ef

Browse files
committed
First commit
0 parents  commit cdda3ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+6634
-0
lines changed

Bill.cpp

Lines changed: 1247 additions & 0 deletions
Large diffs are not rendered by default.

Bill.h

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#pragma once
2+
3+
#include<time.h>
4+
5+
#include "BillDetail.h"
6+
#include "Employees.h"
7+
8+
9+
struct BILL
10+
{
11+
char billNumber[bill_maxSize_Code + 1];
12+
char employeesCode[employees_maxSize_Code + 1];
13+
char invoiceDate[bill_maxSize_invoiceDate + 1];
14+
char type;
15+
struct NODE_BILLDETAILS *list_BillDetail = NULL;
16+
};
17+
18+
struct NODE_BILL
19+
{
20+
BILL data;
21+
struct NODE_BILL *pNext;
22+
};
23+
24+
struct LIST_BILL
25+
{
26+
NODE_BILL *pHead;
27+
NODE_BILL *pTail;
28+
};
29+
30+
31+
void dslk_Initialize(LIST_BILL &lb);
32+
NODE_BILL* dslk_CreateNodeBill(BILL data);
33+
void dslk_addTail(LIST_BILL &lb, NODE_BILL *itemAdd);
34+
void dslk_addHead(NODE_BILL* &lb, NODE_BILL *itemAdd);
35+
int dslk_Count(struct NODE_BILL* lb);
36+
void bill_SortUpByCode(LIST_BILL &lb);
37+
void bill_buildBill(LIST_BILL &lb, struct LIST_EMPLOYEES &le, LIST_MATERIAL &lm);
38+
STR dis_chooseViewDetail(LIST_BILL lb, struct NODE_BILLDETAILS* nb, LIST_EMPLOYEES le,LOCATION lcDis, int widthGird, LIST_ARRAY_CHAR notify, int modeMore);
39+
void bill_Show(LIST_BILL lb, LIST_MATERIAL lm, LOCATION lcShow);
40+
void bill_ShowByDate(LIST_BILL lb, LIST_EMPLOYEES le, LIST_MATERIAL lm);
41+
void bill_EntryDate(LIST_ARRAY_CHAR &data);
42+
void material_showHeightRevenue(LIST_BILL lb, LIST_MATERIAL lm);

0 commit comments

Comments
 (0)