<tt-if="not invoices and order.state in ('sent', 'sale') and portal_confirmation == 'pay'"name="portal_confirmation_pay">
<tt-if="not invoices and order.state in ('sent', 'sale') and portal_confirmation == 'pay' and order.payment_tx_id.state != 'done'"name="portal_confirmation_pay">