cyfronet-fid / whitelabel-marketplace

Set customisations in your instance of marketplace
GNU General Public License v3.0
0 stars 0 forks source link

Mail for bundle are not sent #66

Open Marcelinna opened 3 months ago

Marcelinna commented 3 months ago

Mail for bundles is not sent,

Service a - main offer Service b - bundled offer

When Service a bundle offer b - owner service b was getting an email

%p Dear #{@bundled_offer.service.name} administrator,
%p Your offer #{offer_full_name(@bundled_offer)} was bundled in #{offer_full_name(@bundle_offer)}.
%p You can view the bundle offer under #{link_to @bundle_offer.service.name, service_url(@bundle_offer.service)}.
%em Please note that you can’t reply to this message.

When Service a bundle offer b, and offer b changed status to other than published, owner Service a was getting an email

%p Dear #{@bundle_offer.service.name} administrator,
%p
  Your bundle offer's (#{offer_full_name(@bundle_offer)}) bundled offer (#{@unbundled_offer_full_name})
  was unbundled.
%p Go to the #{link_to "Offering API", api_docs_url} to verify your bundle offer.
%em Please note that you can’t reply to this message.