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:
@@ -4,6 +4,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Billing\Application\Contracts;
|
||||
|
||||
use App\Modules\Billing\Application\DTOs\BilledMonth;
|
||||
use App\Modules\Billing\Application\DTOs\ExportSummary;
|
||||
|
||||
/**
|
||||
@@ -17,4 +18,11 @@ interface BillingQueries
|
||||
* @return list<ExportSummary>
|
||||
*/
|
||||
public function exports(): array;
|
||||
|
||||
/**
|
||||
* The monthly fee months of a job billed on created materials, oldest first.
|
||||
*
|
||||
* @return list<BilledMonth>
|
||||
*/
|
||||
public function billedMonthsOf(int $jobId): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user