GnuCashew ~ GnuCash Enabled Web
GCW
Public Member Functions | Public Attributes | List of all members
GCW::Gui::BillPay::Item Class Reference

#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
 

Detailed Description

Definition at line 12 of file Item.h.

Constructor & Destructor Documentation

◆ Item()

GCW::Gui::BillPay::Item::Item ( GCW::Dbo::Vars::Item::Ptr  _varItem)

Definition at line 24 of file Item.cpp.

Member Function Documentation

◆ accountGuid()

auto GCW::Gui::BillPay::Item::accountGuid ( ) const -> std::string

Definition at line 57 of file Item.cpp.

References FN_ACCOUNTGUID.

◆ actual()

auto GCW::Gui::BillPay::Item::actual ( ) const -> std::string

Definition at line 120 of file Item.cpp.

References FN_ACTUAL.

◆ ap()

auto GCW::Gui::BillPay::Item::ap ( ) const -> std::string

Definition at line 138 of file Item.cpp.

References FN_AP.

◆ autoPay()

auto GCW::Gui::BillPay::Item::autoPay ( ) const -> std::string

Definition at line 165 of file Item.cpp.

References FN_AUTOPAY.

◆ budget()

auto GCW::Gui::BillPay::Item::budget ( ) const -> std::string

Definition at line 84 of file Item.cpp.

References FN_BUDGET.

◆ cb()

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().

◆ dueDay()

auto GCW::Gui::BillPay::Item::dueDay ( ) const -> std::string

Definition at line 66 of file Item.cpp.

References FN_DUEDAY.

◆ group()

auto GCW::Gui::BillPay::Item::group ( ) const -> std::string

Definition at line 102 of file Item.cpp.

References FN_GROUP.

◆ guid()

auto GCW::Gui::BillPay::Item::guid ( ) const -> std::string

Definition at line 48 of file Item.cpp.

References GCW::Dbo::Var::Field::keyField.

◆ isActive()

auto GCW::Gui::BillPay::Item::isActive ( ) const -> std::string

Definition at line 147 of file Item.cpp.

References FN_ISACTIVE.

◆ isVisible()

auto GCW::Gui::BillPay::Item::isVisible ( ) const -> std::string

Definition at line 156 of file Item.cpp.

References FN_ISVISIBLE.

◆ last4()

auto GCW::Gui::BillPay::Item::last4 ( ) const -> std::string

Definition at line 183 of file Item.cpp.

References FN_LAST4.

◆ limit()

auto GCW::Gui::BillPay::Item::limit ( ) const -> std::string

Definition at line 111 of file Item.cpp.

References FN_LIMIT.

◆ minimum()

auto GCW::Gui::BillPay::Item::minimum ( ) const -> std::string

Definition at line 75 of file Item.cpp.

References FN_MINIMUM.

◆ nickname()

auto GCW::Gui::BillPay::Item::nickname ( ) const -> std::string

Definition at line 93 of file Item.cpp.

References FN_NICKNAME.

◆ note()

auto GCW::Gui::BillPay::Item::note ( ) const -> std::string

Definition at line 192 of file Item.cpp.

References FN_NOTE.

◆ payNow()

auto GCW::Gui::BillPay::Item::payNow ( ) const -> std::string

Definition at line 174 of file Item.cpp.

References FN_PAYNOW.

◆ set_accountGuid()

auto GCW::Gui::BillPay::Item::set_accountGuid ( const Wt::WString &  _value) -> void

Definition at line 220 of file Item.cpp.

References FN_ACCOUNTGUID.

◆ set_actual()

auto GCW::Gui::BillPay::Item::set_actual ( const Wt::WString &  _value) -> void

Definition at line 276 of file Item.cpp.

References FN_ACTUAL.

◆ set_ap()

auto GCW::Gui::BillPay::Item::set_ap ( const Wt::WString &  _value) -> void

Definition at line 292 of file Item.cpp.

References FN_AP.

◆ set_autoPay()

auto GCW::Gui::BillPay::Item::set_autoPay ( const Wt::WString &  _value) -> void

Definition at line 316 of file Item.cpp.

References FN_AUTOPAY.

◆ set_budget()

auto GCW::Gui::BillPay::Item::set_budget ( const Wt::WString &  _value) -> void

Definition at line 244 of file Item.cpp.

References FN_BUDGET.

◆ set_cb()

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().

◆ set_dueDay()

auto GCW::Gui::BillPay::Item::set_dueDay ( const Wt::WString &  _value) -> void

Definition at line 228 of file Item.cpp.

References FN_DUEDAY.

◆ set_group()

auto GCW::Gui::BillPay::Item::set_group ( const Wt::WString &  _value) -> void

Definition at line 260 of file Item.cpp.

References FN_GROUP.

◆ set_isActive()

auto GCW::Gui::BillPay::Item::set_isActive ( const Wt::WString &  _value) -> void

Definition at line 300 of file Item.cpp.

References FN_ISACTIVE.

◆ set_isVisible()

auto GCW::Gui::BillPay::Item::set_isVisible ( const Wt::WString &  _value) -> void

Definition at line 308 of file Item.cpp.

References FN_ISVISIBLE.

◆ set_last4()

auto GCW::Gui::BillPay::Item::set_last4 ( const Wt::WString &  _value) -> void

Definition at line 332 of file Item.cpp.

References FN_LAST4.

◆ set_limit()

auto GCW::Gui::BillPay::Item::set_limit ( const Wt::WString &  _value) -> void

Definition at line 268 of file Item.cpp.

References FN_LIMIT.

◆ set_minimum()

auto GCW::Gui::BillPay::Item::set_minimum ( const Wt::WString &  _value) -> void

Definition at line 236 of file Item.cpp.

References FN_MINIMUM.

◆ set_nickname()

auto GCW::Gui::BillPay::Item::set_nickname ( const Wt::WString &  _value) -> void

Definition at line 252 of file Item.cpp.

References FN_NICKNAME.

◆ set_note()

auto GCW::Gui::BillPay::Item::set_note ( const Wt::WString &  _value) -> void

Definition at line 340 of file Item.cpp.

References FN_NOTE.

◆ set_payNow()

auto GCW::Gui::BillPay::Item::set_payNow ( const Wt::WString &  _value) -> void

Definition at line 324 of file Item.cpp.

References FN_PAYNOW.

◆ set_url()

auto GCW::Gui::BillPay::Item::set_url ( const Wt::WString &  _value) -> void

Definition at line 284 of file Item.cpp.

References FN_URL.

◆ setVar()

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().

◆ sortValue()

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.

Definition at line 32 of file Item.cpp.

◆ url()

auto GCW::Gui::BillPay::Item::url ( ) const -> std::string

Definition at line 129 of file Item.cpp.

References FN_URL.

Member Data Documentation

◆ m_varItem

GCW::Dbo::Vars::Item::Ptr GCW::Gui::BillPay::Item::m_varItem

Definition at line 69 of file Item.h.


The documentation for this class was generated from the following files: