5
6
7
8
9
10
11
|
# File 'app/workers/send_rmas_need_review_worker.rb', line 5
def perform
InternalMailer.rmas_in_auto_return_review.deliver_now if Rma.in_auto_return_review.present?
InternalMailer.rmas_in_awaiting_inspection.deliver_now if Rma.in_awaiting_inspection.present?
InternalMailer.rmas_returned_and_need_attention_immediately.deliver_now if Rma.returned_and_need_attention_immediately.present?
InternalMailer.rmas_with_credit_memos_not_transmitted_and_are_not_fullyoffset.deliver_now if Rma.with_credit_memos_not_transmitted_and_are_not_fullyoffset.present?
InternalMailer.rmas_with_credit_memos_transmitted_and_are_not_fullyoffset.deliver_now if Rma.with_credit_memos_transmitted_and_are_not_fullyoffset.present?
end
|