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_from ⇒ String

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_to ⇒ String

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.

#client ⇒ CompanyClientDrop?

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

Returns:

#finish_closing_at ⇒ String

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_members ⇒ String

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.

#name ⇒ String

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

Returns:

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