Aggiunta gestione export csv
This commit is contained in:
1 parent
8b5b690435
commit
8cd79da5eb
8 files changed
+376
-42
No files matched your search
+5
-2
@@ -33,13 +33,16 @@ int consumeProductInventory(const char *fname, const char *name, int qty);
|
||||
int getCount(const char *fname, const char *name);
|
||||
void listSold(const char *fname);
|
||||
int addSold(const char *fname, const char *name, int qty);
|
||||
int updateSold(const char *fname, const char *name, int qty);
|
||||
int deleteSold(const char *fname, const char *name);
|
||||
int deleteSold(const char *productsFile, const char *soldFile, const char *name);
|
||||
int updateSold(const char *productsFile, const char *soldFile, const char *name, int qty);
|
||||
int recordSale(const char *productsFile, const char *soldFile, const char *name, int qty);
|
||||
|
||||
/* Entrate */
|
||||
double getTotalRevenue(const char *productsFile, const char *soldFile);
|
||||
|
||||
/* Export */
|
||||
int exportSalesToCsv(const char *productsFile, const char *soldFile, const char *outFile);
|
||||
|
||||
/* Config */
|
||||
int ensureAppConfig(const char *fname);
|
||||
int loadAppConfig(const char *fname);
|
||||
|
||||
Reference in new issue
Block a user