GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Eng
InvoicesModel.h
Go to the documentation of this file.
1
#line 2 "src/Eng/InvoicesModel.h"
2
3
#ifndef __ENG_INVOICESMODEL_H___
4
#define __ENG_INVOICESMODEL_H___
5
6
#include <Wt/WStandardItemModel.h>
7
#include <Wt/Dbo/QueryModel.h>
8
9
#include "../Dbo/Invoices/Invoices.h"
10
11
namespace
GCW
{
12
namespace
Eng {
13
14
class
InvoicesModel
15
:
public
Wt::Dbo::QueryModel
< GCW::Dbo::Invoices::Item::Ptr >
16
{
17
public
:
18
19
InvoicesModel
();
20
InvoicesModel
(
const
std::vector< Wt::WFormModel::Field > & _fields );
21
22
auto
setCustomerGuid
(
const
std::string & _guid )-> void;
23
24
auto
refreshFromDisk
()-> void ;
25
26
private
:
27
28
std::string
m_customerGuid
;
29
30
std::vector< Wt::WFormModel::Field >
m_fields
;
31
32
};
// endclass InvoicesModel
33
34
}
// namespace Eng {
35
}
// endnamespace GCW {
36
37
#endif
// #ifndef __ENG_INVOICESMODEL_H___
38
39
40
GCW::Eng::InvoicesModel
Definition
InvoicesModel.h:16
GCW::Eng::InvoicesModel::setCustomerGuid
auto setCustomerGuid(const std::string &_guid) -> void
Definition
InvoicesModel.cpp:25
GCW::Eng::InvoicesModel::refreshFromDisk
auto refreshFromDisk() -> void
Refresh From Disk.
Definition
InvoicesModel.cpp:41
GCW::Eng::InvoicesModel::InvoicesModel
InvoicesModel()
Definition
InvoicesModel.cpp:7
GCW::Eng::InvoicesModel::m_fields
std::vector< Wt::WFormModel::Field > m_fields
Definition
InvoicesModel.h:30
GCW::Eng::InvoicesModel::m_customerGuid
std::string m_customerGuid
Definition
InvoicesModel.h:28
Wt::Dbo::QueryModel
GCW
Definition
App.h:18
Generated on Sat Sep 13 2025 08:48:27 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8