{{ t({'draft': 'Draft', 'posted': 'Posted, not paid', 'paid': 'Paid'}.get(r.state, r.state)) }}