-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotafiscal.cpp
35 lines (26 loc) · 889 Bytes
/
notafiscal.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
#include <iostream>
#include <string.h>
#include "notafiscal.h"
using namespace std;
NotaFiscal::NotaFiscal(Order newSale){
sale = newSale;
}
void NotaFiscal::addSale(Order newSale){
sale = newSale;
}
Order NotaFiscal::getSales(){
return sale;
}
void NotaFiscal::Issue(){
display();
}
void NotaFiscal::display(){
cout << "||\t ***** \t ***** \t ***** \t ***** \t ***** \t||" << endl;
cout << "||\t ***** \t *****Nota Fiscal***** \t ***** \t||" << endl;
cout << "||\t ***** \t ***** \t ***** \t ***** \t ***** \t||" << endl;
cout << "||\tData Emissão: " << getSales().getDate() << "\t\t\t\t||" << endl;
sale.display();
cout << "||\t ***** \t ***** \t ***** \t ***** \t ***** \t||" << endl;
cout << "||\t ***** \t ***** Modelo 55 ***** \t ***** \t||" << endl;
cout << "||\t ***** \t ***** \t ***** \t ***** \t ***** \t||" << endl;
}