GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
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
11namespace GCW {
12 namespace Eng {
13
15: public Wt::Dbo::QueryModel< GCW::Dbo::Invoices::Item::Ptr >
16{
17 public:
18
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
auto setCustomerGuid(const std::string &_guid) -> void
auto refreshFromDisk() -> void
Refresh From Disk.
std::vector< Wt::WFormModel::Field > m_fields
Definition App.h:18