@ -1391,9 +1391,10 @@ function SecretField(props: { cm: ClientModule; field: FieldDef; managerial: boo
* module status ( installed / live ) exactly as before . Three steps instead hand off to a
* module status ( installed / live ) exactly as before . Three steps instead hand off to a
* dialog the parent ( ` ClientDetail ` ) owns , because each needs data this component does
* dialog the parent ( ` ClientDetail ` ) owns , because each needs data this component does
* not hold :
* not hold :
* - the advance / balance * * payment * * steps call ` onTickPayment ` → ` PaymentPickerDialog ` ,
* - the * * payment * * step ( ` payment_received ` , plus the legacy ` advance_payment ` /
* which links a real ledger payment ( ` setMilestone(..., paymentId) ` ) rather than
* ` balance_payment ` keys on un - migrated projects ) calls ` onTickPayment ` →
* stamping a bare date ;
* ` PaymentPickerDialog ` , which links a real ledger payment
* ( ` setMilestone(..., paymentId) ` ) rather than stamping a bare date ;
* - the ` account_creation ` * * credentials * * step calls ` onTickCreds ` →
* - the ` account_creation ` * * credentials * * step calls ` onTickCreds ` →
* ` CredentialsDialog ` , which captures the module ' s provider / username / password
* ` CredentialsDialog ` , which captures the module ' s provider / username / password
* ( managerial gate ) at the moment the account actually exists ;
* ( managerial gate ) at the moment the account actually exists ;
@ -1439,7 +1440,10 @@ function StatusLine(props: {
const done = ms ? . filter ( ( m ) = > m . done ) . length ? ? 0
const done = ms ? . filter ( ( m ) = > m . done ) . length ? ? 0
// current = first not-done step
// current = first not-done step
const currentKey = ms ? . find ( ( m ) = > ! m . done ) ? . key
const currentKey = ms ? . find ( ( m ) = > ! m . done ) ? . key
const isPaymentStep = ( key : string ) = > key === 'advance_payment' || key === 'balance_payment'
// `payment_received` is the key every shipped template uses; advance_/balance_payment are
// legacy keys that still exist on projects not yet run through the onboarding migration.
const isPaymentStep = ( key : string ) = >
key === 'payment_received' || key === 'advance_payment' || key === 'balance_payment'
const isCredsStep = ( key : string ) = > key === 'account_creation'
const isCredsStep = ( key : string ) = > key === 'account_creation'
const isDocumentStep = ( key : string ) = > key === 'quotation_sent'
const isDocumentStep = ( key : string ) = > key === 'quotation_sent'