|
GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
|
Public Member Functions | |
| Splits (int _month, int _year) | |
| ctor | |
| auto | splitGuids () const -> const std::vector< std::string > & |
| auto | days () const -> std::set< int > |
| auto | dayPayments (int _day) const -> std::vector< std::string > |
| auto | payFroms () const -> std::set< std::string > |
| auto | payFromDays (const std::string &_payFrom) const -> std::set< int > |
| auto | paymentSplits (const std::string &_payFrom, int _day) const -> std::vector< std::string > |
Public Attributes | |
| int | m_month = -1 |
| int | m_year = -1 |
| std::vector< std::string > | m_splitGuids |
Summary Splits.
This is a convenience class to help manipulate all of the splits associated with a Summary View. It facilitates the rapid query of the various values that are needed for the summary report.
Definition at line 58 of file SummaryWidget.h.
ctor
The splits are manipulated by month, since the summary report shows all of the split values for that selected month.
Definition at line 433 of file SummaryWidget.cpp.
References Wt::WContainerWidget::addNew(), GCW::Dbo::Transactions::byNumDate(), GCW::Dbo::Splits::byTransaction(), m_month, m_splitGuids, m_year, and split().
| auto GCW::Gui::BillPay::SummaryWidget::Splits::dayPayments | ( | int | _day | ) | const -> std::vector< std::string > |
Definition at line 582 of file SummaryWidget.cpp.
References Wt::WContainerWidget::addNew().
Definition at line 479 of file SummaryWidget.cpp.
References Wt::WContainerWidget::addNew().
| auto GCW::Gui::BillPay::SummaryWidget::Splits::payFromDays | ( | const std::string & | _payFrom | ) | const -> std::set< int > |
Definition at line 527 of file SummaryWidget.cpp.
References Wt::WContainerWidget::addNew().
Referenced by GCW::Gui::BillPay::SummaryWidget::setDate().
| auto GCW::Gui::BillPay::SummaryWidget::Splits::payFroms | ( | ) | const -> std::set< std::string > |
Definition at line 503 of file SummaryWidget.cpp.
References Wt::WContainerWidget::addNew().
Referenced by GCW::Gui::BillPay::SummaryWidget::setDate().
| auto GCW::Gui::BillPay::SummaryWidget::Splits::paymentSplits | ( | const std::string & | _payFrom, |
| int | _day | ||
| ) | const -> std::vector< std::string > |
Definition at line 553 of file SummaryWidget.cpp.
References Wt::WContainerWidget::addNew().
Referenced by GCW::Gui::BillPay::SummaryWidget::setDate().
| auto GCW::Gui::BillPay::SummaryWidget::Splits::splitGuids | ( | ) | const -> const std::vector< std::string > & |
Definition at line 470 of file SummaryWidget.cpp.
| int GCW::Gui::BillPay::SummaryWidget::Splits::m_month = -1 |
Definition at line 106 of file SummaryWidget.h.
Referenced by Splits().
| std::vector< std::string > GCW::Gui::BillPay::SummaryWidget::Splits::m_splitGuids |
Definition at line 116 of file SummaryWidget.h.
Referenced by Splits().
| int GCW::Gui::BillPay::SummaryWidget::Splits::m_year = -1 |
Definition at line 111 of file SummaryWidget.h.
Referenced by Splits().