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