Show a monthly fee job's billed periods on a page of its own

The new billing::job-months page lists the months that created billing
materials have billed for a monthly fee job, with links to the materials
and the total, and the months still to bill up to the current month,
counted the same way as a new material counts them. The job page links
to it next to the payment basis for those who manage billing.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-25 15:56:15 +02:00
co-authored by Claude Sonnet 5.5
parent e817cca329
commit bc3dbf16a4
16 changed files with 470 additions and 3 deletions
+29
View File
@@ -80,6 +80,35 @@ return [
'draft_label' => 'Draft',
],
'job_months' => [
'title' => 'Billed periods: :job',
'back' => 'Back to the customer job',
'intro' => 'A monthly fee job is billed for every month from its start month. Created billing materials mark the months billed, and no month is billed twice.',
'summary' => 'Monthly billing details',
'customer' => 'Customer',
'monthly_fee' => 'Monthly fee',
'no_fee' => 'Not set: the job is not billed until a monthly fee is given.',
'vat_excluded' => '(excl. VAT)',
'starts' => 'Billing starts',
'ends' => 'Billing ends',
'no_end' => 'Until further notice',
'billing_unit' => 'Billing unit',
'not_running' => 'The job is not in Order, In production, On hold or Done, so new billing materials do not bill its months.',
'billed_title' => 'Billed months (:count)',
'none_billed' => 'No month has been billed yet.',
'billed_total' => 'Billed in total :net (excl. VAT).',
'columns' => [
'month' => 'Period',
'export' => 'Billing material',
'finalized' => 'Created',
'net' => 'Net',
],
'unbilled_title' => 'Unbilled up to :month',
'unbilled_list' => 'Unbilled months',
'none_unbilled' => 'Every month up to this month has been billed.',
'unbilled_help' => 'These months go on the next billing material whose billing month is at or after them.',
],
'export' => [
'title' => 'Billing material :number',
'draft_title' => 'Billing material draft',