GnuCashew ~ GnuCash Enabled Web
GCW
Public Member Functions | Private Attributes | List of all members
GCW::Eng::InvoicesModel Class Reference

#include <InvoicesModel.h>

Inherits Wt::Dbo::QueryModel< GCW::Dbo::Invoices::Item::Ptr >.

Public Member Functions

 InvoicesModel ()
 
 InvoicesModel (const std::vector< Wt::WFormModel::Field > &_fields)
 
auto setCustomerGuid (const std::string &_guid) -> void
 
auto refreshFromDisk () -> void
 Refresh From Disk. More...
 

Private Attributes

std::string m_customerGuid
 
std::vector< Wt::WFormModel::Field > m_fields
 

Detailed Description

Definition at line 14 of file InvoicesModel.h.

Constructor & Destructor Documentation

◆ InvoicesModel() [1/2]

GCW::Eng::InvoicesModel::InvoicesModel ( )

Definition at line 6 of file InvoicesModel.cpp.

References refreshFromDisk().

◆ InvoicesModel() [2/2]

GCW::Eng::InvoicesModel::InvoicesModel ( const std::vector< Wt::WFormModel::Field > &  _fields)

Definition at line 14 of file InvoicesModel.cpp.

References refreshFromDisk().

Member Function Documentation

◆ refreshFromDisk()

auto GCW::Eng::InvoicesModel::refreshFromDisk ( ) -> void

Refresh From Disk.

Definition at line 41 of file InvoicesModel.cpp.

References GCW::app().

Referenced by InvoicesModel().

◆ setCustomerGuid()

auto GCW::Eng::InvoicesModel::setCustomerGuid ( const std::string &  _guid) -> void

Definition at line 24 of file InvoicesModel.cpp.

Member Data Documentation

◆ m_customerGuid

std::string GCW::Eng::InvoicesModel::m_customerGuid
private

Definition at line 28 of file InvoicesModel.h.

◆ m_fields

std::vector< Wt::WFormModel::Field > GCW::Eng::InvoicesModel::m_fields
private

Definition at line 30 of file InvoicesModel.h.


The documentation for this class was generated from the following files: