GnuCashew ~ GnuCash Enabled Web
GCW
BillPay.h
Go to the documentation of this file.
1 #line 2 "src/Gui/BillPay/BillPay.h"
2 
3 #ifndef __GUI_BILLPAY_H___
4 #define __GUI_BILLPAY_H___
5 
6 #include "../../GnuCashew.h"
7 #include "../../Dbo/Vars/Vars.h"
8 
9 #include "EditWidget.h"
10 #include "MainWidget.h"
11 #include "Item.h"
12 #include "Model.h"
13 #include "Status.h"
14 #include "Table.h"
15 #include "ToolBar.h"
16 
17 namespace GCW {
18  namespace Gui {
19 
20  /*!
21  ** \brief Bill Pay
22  **
23  ** This tool provides an interface for paying bills. The intent of the interface
24  ** is to present bills that are due within a specific period of time, with thier
25  ** due dates shown, and organized in to sets of "paid" and "not paid".
26  **
27  ** \image html BillPayDetailForm.png
28  **
29  */
30  namespace BillPay {
31 
32 /*
33 ** Use these to identify the cfyField type
34 ** for the varItems for the various functions
35 ** within this application.
36 **
37 */
38 #define GCW_GUI_BILLPAY_CONFIG_CFY "mpbc"
39 #define GCW_GUI_BILLPAY_ITEM_CFY "mbpi"
40 
41 /*!
42 ** \brief Config Item
43 **
44 ** This returns the single 'config item' that contains the properties of the
45 ** bill pay sub-system.
46 **
47 */
49 
50 /*!
51 ** \brief Bill Pay Item
52 **
53 ** This returns a bill-pay item based on the GUID of the relative account.
54 **
55 */
56 auto bpItem( const std::string & _guid )-> GCW::Gui::BillPay::Item ;
57 
58 /*!
59 ** \brief Convert Integer to String
60 **
61 ** This converts an integer in to a 2-character string. So, numbers less
62 ** that 10 return "09", "08", "07"... as a string.
63 **
64 */
65 auto toString( int _value )-> std::string ;
66 
67 auto exportAll()-> void;
68 auto importAll()-> void;
69 
70  } // endnamespace BillPay {
71  } // endnamespace Gui {
72 } // endnamespace GCW {
73 
74 #endif // __GUI_BILLPAY_H___
75 
76 
77 
78 
Wt::Dbo::ptr< Item > Ptr
Definition: BaseItem.h:39
auto bpItem(const std::string &_guid) -> GCW::Gui::BillPay::Item
Bill Pay Item.
Definition: BillPay.cpp:19
auto importAll() -> void
Definition: BillPay.cpp:61
auto exportAll() -> void
Definition: BillPay.cpp:54
auto toString(int _value) -> std::string
Convert Integer to String.
Definition: BillPay.cpp:41
auto configItem() -> GCW::Dbo::Vars::Item::Ptr
Config Item.
Definition: BillPay.cpp:7
Definition: App.h:17