0 ? "Net $days" : 'due on receipt'; }; // The contracts in force they come from, by name - "Gold", "Gold and Standard terms" $terms_note_names = []; if ($terms_note) { $terms_note_names = array_merge([$terms_note['rate']['contract_name'], $terms_note['after_hours'][1], $terms_note['net_terms'][1]], array_column($terms_note['slas'], 1)); $terms_note_names = array_values(array_unique(array_filter(array_map('strval', $terms_note_names), 'strlen'))); } $terms_note_from = count($terms_note_names) > 1 ? implode(', ', array_slice($terms_note_names, 0, -1)) . ' and ' . end($terms_note_names) : ($terms_note_names[0] ?? ''); ?>
Rates, net terms and SLAs
/hr 0 ? ', ' . $terms_note_money($terms_note['after_hours'][0]) . '/hr after hours' : '' ?>, - 1 ? ', the contracts in force, with the defaults for anything they leave empty.' : ', the contract in force, with the defaults for anything it leaves empty.') : 'the defaults, as no contract in force sets them.' ?>
They come from the client's contract, not the client. Contracts - or change the defaults in Admin > Settings > Defaults and Admin > SLAs.
They come from the client's contract, not the client - . Until then the defaults apply: /hr 0 ? ', ' . $terms_note_money($terms_note_defaults['after_hours']) . '/hr after hours' : '' ?>, , and the SLAs in Admin > SLAs.