Class: C2eCore::Drops::CreditsGroupDrop

Inherits:
BaseDrop
  • Object
show all
Defined in:
/build/app/mailers/c2e_core/drops/credits_group_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(group) ⇒ CreditsGroupDrop

Returns a new instance of CreditsGroupDrop.

Instance Method Details

#cashless_refund_fromString

Returns - Datetime when the group’s cashless refunds start. E.g. 26. 7. 2023, 13:00.

Returns:

  • (String)
    • Datetime when the group’s cashless refunds start. E.g. 26. 7. 2023, 13:00.

#cashless_refund_toString

Returns - Datetime when the group’s cashless refunds end. E.g. 26. 7. 2023, 13:00.

Returns:

  • (String)
    • Datetime when the group’s cashless refunds end. E.g. 26. 7. 2023, 13:00.

#clientCompanyClientDrop?

Returns - Company (client) of the group as drop object or null.

Returns:

#finish_closing_atString

Returns - Datetime when the group will finish closing. E.g. 26. 7. 2023, 13:00.

Returns:

  • (String)
    • Datetime when the group will finish closing. E.g. 26. 7. 2023, 13:00.

#formatted_membersString

Returns - Formatted names of active company branches. E.g.: Branch A, Branch B, Branch C.

Returns:

  • (String)
    • Formatted names of active company branches. E.g.: Branch A, Branch B, Branch C.

#nameString

Returns - Name of the group. E.g.: Group A.

Returns:

  • (String)
    • Name of the group. E.g.: Group A.