-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.cpp
43 lines (30 loc) · 1.46 KB
/
admin.cpp
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
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// Created by rafli on 25/06/2019.
//
#include <iostream>
#include <string>
#include <iomanip>
#include "admin.h"
void Admin::showOnGoing() { // The Table For The Check Order
cout << endl << "---------------------------------------------------------------------------------------" << endl;
cout << left << setw(15) << "ORDER ID";
cout << left << setw(15) << "NAME";
cout << left << setw(15) << "SHOES";
cout << left << setw(30) << "SERVICE";
cout << left << setw(30) << "EST TIME";
cout << endl << "---------------------------------------------------------------------------------------" << endl;
}
void Admin::checkRevenue() { // The Table For The Check Revenue
cout << endl << "--------------------------------------------------------" << endl;
cout << left << setw(20) << "CAPITAL";
cout << left << setw(20) << "CLEAN";
cout << endl << "--------------------------------------------------------" << endl;
}
void Admin::showHistory() { // The Table For The History
cout << endl << "---------------------------------------------------------------------------------------" << endl;
cout << left << setw(20) << "NAME";
cout << left << setw(20) << "SHOES";
cout << left << setw(30) << "SERVICE";
cout << left << setw(30) << "DATE";
cout << endl << "---------------------------------------------------------------------------------------" << endl;
}