0 badge state == 'purchase' or state == 'done' state == 'to approve' state == 'draft' or state == 'sent'