Bill seats
That license template no longer exists.
Bill seats
' . escapeHtml($template['product_name']) . ', is archived.' : 'It isn\'t sold as a product yet.' ?> Pick the product it is sold as on the template, then bill its licenses from here.
The line's quantity follows the license each time an invoice is made. One with no seat limit counts the seats in use.
$row) { $client_id = intval($row['software_client_id']); $options = $recurring[$client_id] ?? []; // An active one billed as often as the product, then any active one, then the first $default = 0; foreach ($options as $recurring_id => $option) { if (intval($option['recurring_invoice_status']) === 1 && $option['recurring_invoice_frequency'] === (string) $template['product_frequency']) { $default = $recurring_id; break; } } $default = $default ?: (int) array_key_first($options); ?>
ClientSeatsRecurring invoice
>
0 ? $row['seats']['total'] . ' bought' : 'No limit' ?>
in use
No recurring invoice - make one first
billed already, so not here.