GnuCashew ~ GnuCash Enabled Web
GCW
|
#include <Item.h>
Public Member Functions | |
Item (GCW::Dbo::Vars::Item::Ptr _varItem) | |
auto | guid () const -> std::string |
auto | accountGuid () const -> std::string |
auto | dueDay () const -> std::string |
auto | minimum () const -> std::string |
auto | budget () const -> std::string |
auto | nickname () const -> std::string |
auto | group () const -> std::string |
auto | limit () const -> std::string |
auto | actual () const -> std::string |
auto | url () const -> std::string |
auto | ap () const -> std::string |
auto | isActive () const -> std::string |
auto | isVisible () const -> std::string |
auto | autoPay () const -> std::string |
auto | payNow () const -> std::string |
auto | last4 () const -> std::string |
auto | note () const -> std::string |
auto | cb (int _index) const -> std::string |
auto | set_accountGuid (const Wt::WString &_value) -> void |
auto | set_dueDay (const Wt::WString &_value) -> void |
auto | set_minimum (const Wt::WString &_value) -> void |
auto | set_budget (const Wt::WString &_value) -> void |
auto | set_nickname (const Wt::WString &_value) -> void |
auto | set_group (const Wt::WString &_value) -> void |
auto | set_limit (const Wt::WString &_value) -> void |
auto | set_actual (const Wt::WString &_value) -> void |
auto | set_url (const Wt::WString &_value) -> void |
auto | set_ap (const Wt::WString &_value) -> void |
auto | set_isActive (const Wt::WString &_value) -> void |
auto | set_isVisible (const Wt::WString &_value) -> void |
auto | set_autoPay (const Wt::WString &_value) -> void |
auto | set_payNow (const Wt::WString &_value) -> void |
auto | set_last4 (const Wt::WString &_value) -> void |
auto | set_note (const Wt::WString &_value) -> void |
auto | set_cb (int _index, const Wt::WString &_value) -> void |
auto | sortValue () const -> float |
Sort Value. More... | |
auto | setVar (const std::string &_key, const Wt::WString &_value) -> void |
Public Attributes | |
GCW::Dbo::Vars::Item::Ptr | m_varItem |
GCW::Gui::BillPay::Item::Item | ( | GCW::Dbo::Vars::Item::Ptr | _varItem | ) |
auto GCW::Gui::BillPay::Item::accountGuid | ( | ) | const -> std::string |
Definition at line 57 of file Item.cpp.
References FN_ACCOUNTGUID.
auto GCW::Gui::BillPay::Item::actual | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::ap | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::autoPay | ( | ) | const -> std::string |
Definition at line 165 of file Item.cpp.
References FN_AUTOPAY.
auto GCW::Gui::BillPay::Item::budget | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::cb | ( | int | _index | ) | const -> std::string |
Definition at line 202 of file Item.cpp.
References FN_CB, and GCW::Gui::BillPay::toString().
auto GCW::Gui::BillPay::Item::dueDay | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::group | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::guid | ( | ) | const -> std::string |
Definition at line 48 of file Item.cpp.
References GCW::Dbo::Var::Field::keyField.
auto GCW::Gui::BillPay::Item::isActive | ( | ) | const -> std::string |
Definition at line 147 of file Item.cpp.
References FN_ISACTIVE.
auto GCW::Gui::BillPay::Item::isVisible | ( | ) | const -> std::string |
Definition at line 156 of file Item.cpp.
References FN_ISVISIBLE.
auto GCW::Gui::BillPay::Item::last4 | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::limit | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::minimum | ( | ) | const -> std::string |
Definition at line 75 of file Item.cpp.
References FN_MINIMUM.
auto GCW::Gui::BillPay::Item::nickname | ( | ) | const -> std::string |
Definition at line 93 of file Item.cpp.
References FN_NICKNAME.
auto GCW::Gui::BillPay::Item::note | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::payNow | ( | ) | const -> std::string |
auto GCW::Gui::BillPay::Item::set_accountGuid | ( | const Wt::WString & | _value | ) | -> void |
Definition at line 220 of file Item.cpp.
References FN_ACCOUNTGUID.
auto GCW::Gui::BillPay::Item::set_actual | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_ap | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_autoPay | ( | const Wt::WString & | _value | ) | -> void |
Definition at line 316 of file Item.cpp.
References FN_AUTOPAY.
auto GCW::Gui::BillPay::Item::set_budget | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_cb | ( | int | _index, |
const Wt::WString & | _value | ||
) | -> void |
Definition at line 348 of file Item.cpp.
References FN_CB, and GCW::Gui::BillPay::toString().
auto GCW::Gui::BillPay::Item::set_dueDay | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_group | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_isActive | ( | const Wt::WString & | _value | ) | -> void |
Definition at line 300 of file Item.cpp.
References FN_ISACTIVE.
auto GCW::Gui::BillPay::Item::set_isVisible | ( | const Wt::WString & | _value | ) | -> void |
Definition at line 308 of file Item.cpp.
References FN_ISVISIBLE.
auto GCW::Gui::BillPay::Item::set_last4 | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_limit | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_minimum | ( | const Wt::WString & | _value | ) | -> void |
Definition at line 236 of file Item.cpp.
References FN_MINIMUM.
auto GCW::Gui::BillPay::Item::set_nickname | ( | const Wt::WString & | _value | ) | -> void |
Definition at line 252 of file Item.cpp.
References FN_NICKNAME.
auto GCW::Gui::BillPay::Item::set_note | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_payNow | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::set_url | ( | const Wt::WString & | _value | ) | -> void |
auto GCW::Gui::BillPay::Item::setVar | ( | const std::string & | _key, |
const Wt::WString & | _value | ||
) | -> void |
Definition at line 211 of file Item.cpp.
References GCW::app().
auto GCW::Gui::BillPay::Item::sortValue | ( | ) | const -> float |
Sort Value.
This produces a value suitable for sorting the model.
The model gets sorted on the 'group.dueDay' value. This provides a nice group/sorted display of the bills-due view. All items that share the same group appear in the same area and subsequent items are sorted on the dueDay value.
auto GCW::Gui::BillPay::Item::url | ( | ) | const -> std::string |
GCW::Dbo::Vars::Item::Ptr GCW::Gui::BillPay::Item::m_varItem |