GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
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 "PaymentWidget.h"
11#include "MainWidget.h"
12#include "Item.h"
13#include "TableModel.h"
14#include "Status.h"
15#include "TableView.h"
16#include "ToolBar.h"
17#include "YearSelector.h"
18
19namespace GCW {
20 namespace Gui {
21
22 /*!
23 ** \brief Bill Pay
24 **
25 ** This tool provides an interface for paying bills. The intent of the interface
26 ** is to present bills that are due within a specific period of time, with thier
27 ** due dates shown, and organized in to sets of "not paid", "pending" and "paid".
28 **
29 ** \image html BillPayDetailForm.png
30 **
31 */
32 namespace BillPay {
33
34/*
35** Use these to identify the cfyField type
36** for the varItems for the various functions
37** within this application.
38**
39*/
40#define GCW_GUI_BILLPAY_CONFIG_CFY "mpbc"
41#define GCW_GUI_BILLPAY_ITEM_CFY "mbpi"
42
43/*!
44** \brief Config Item
45**
46** This returns the single 'config item' that contains the properties of the
47** bill pay sub-system.
48**
49*/
51
52/*!
53** \brief Bill Pay Items
54**
55** This returns all bill pay items in a vector
56**
57*/
58auto bpItems()-> std::vector< GCW::Gui::BillPay::Item > ;
59
60/*!
61** \brief Bill Pay Item
62**
63** This returns a bill-pay item based on the GUID of the relative account.
64**
65*/
66auto bpItem( const std::string & _guid )-> GCW::Gui::BillPay::Item ;
67
68/*!
69** \brief Convert Integer to String
70**
71** This converts an integer in to a 2-character string. So, numbers less
72** that 10 return "09", "08", "07"... as a string.
73**
74*/
75auto toString( int _value )-> std::string ;
76
77auto exportAll()-> void;
78auto importAll()-> void;
79
80 } // endnamespace BillPay {
81 } // endnamespace Gui {
82} // endnamespace GCW {
83
84#endif // __GUI_BILLPAY_H___
85
86
87
88
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:33
auto importAll() -> void
Definition BillPay.cpp:75
auto bpItems() -> std::vector< GCW::Gui::BillPay::Item >
Bill Pay Items.
Definition BillPay.cpp:19
auto exportAll() -> void
Definition BillPay.cpp:68
auto toString(int _value) -> std::string
Convert Integer to String.
Definition BillPay.cpp:55
auto configItem() -> GCW::Dbo::Vars::Item::Ptr
Config Item.
Definition BillPay.cpp:7
Definition App.h:18