Closed wvengen closed 8 years ago
@nhoening
I'm not sure if the last point is actually needed, to show a flash message when the last order was finished. The button should already turn blue. If it was really simple, I'm happy to add it, but it requires more monkey-patching, I'm afraid. Let's wait until the finance people request this?
sounds good to me!
Thanks! What remains is testing :)
Implemented and tested on branch acceptance/vokomokum-dry.
Finance needs to send payment mails to members after all orders have been settled. Sending the mails is done by the members system, but the "Account orders" screen is a sensible place to do it from.
Suggestion:
btn-primary
)In this way, after settling all orders, the finance team is naturally reminded to send the mails, while still being able to send them if there is a deviation from the normal ordering routine.
payment_reminders_sent_at
attribute toOrder
payment_reminders_sent_at
attribute as wellbtn-default
on button when there are settled orders with a nullpayment_reminders_sent_at
attribute and no closed orders (this allows an open order for the next ordering cycle to be present already).Show flash message to send payment mails when the above condition is met after settling an orderDepends on https://www.assembla.com/spaces/vokomokum/tickets/255