Add an editable menu name and reserve billing material numbers on creation
- Company details get an optional "Valikon nimi", shown at the left of the main menu; it falls back to the application name when empty. - A billing material gets its running number (billing_exports.number) only when it is created, so discarded drafts leave no gaps. Drafts have no number; existing created materials are numbered by the migration, and the CSV file name uses the number. - TaskAssigneeMigrationTest rolls back from its own migration onward instead of assuming it is the last one. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -93,7 +93,7 @@ it('downloads a created billing material as a CSV file for Excel', function () {
|
||||
$response = $this->get(route('billing.csv', $exportId))
|
||||
->assertOk()
|
||||
->assertHeader('Content-Type', 'text/csv; charset=UTF-8')
|
||||
->assertDownload("laskuaineisto-{$exportId}.csv");
|
||||
->assertDownload('laskuaineisto-1.csv');
|
||||
|
||||
expect($response->headers->get('Cache-Control'))->toContain('no-store');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user