fix(tickets): show numeric id and remove date column
This commit is contained in:
@@ -55,8 +55,8 @@ class AdminAppTicketExportServiceTest extends TestCase
|
||||
$this->assertSame('#15', $sheet->getCell('A2')->getValue());
|
||||
$this->assertSame('Cena', $sheet->getCell('D2')->getValue());
|
||||
$this->assertSame(8000.0, $sheet->getCell('E2')->getValue());
|
||||
$this->assertSame('00000000-0000-0000-0000-000000000001', $sheet->getCell('G2')->getValue());
|
||||
$this->assertSame('Usado', $sheet->getCell('I2')->getValue());
|
||||
$this->assertSame('25', $sheet->getCell('G2')->getValue());
|
||||
$this->assertSame('Usado', $sheet->getCell('H2')->getValue());
|
||||
} finally {
|
||||
@unlink($path);
|
||||
}
|
||||
@@ -91,9 +91,9 @@ class AdminAppTicketExportServiceTest extends TestCase
|
||||
])->render();
|
||||
|
||||
$this->assertStringContainsString('Generado el 24/08/2026 13:53', $html);
|
||||
$this->assertStringContainsString('00000000-0000-0000-0000-000000000001', $html);
|
||||
$this->assertStringContainsString('25', $html);
|
||||
$this->assertStringNotContainsString('00000000-0000-0000-0000-000000000001', $html);
|
||||
$this->assertStringContainsString('Cena', $html);
|
||||
$this->assertStringContainsString('24/08/2026 13:53', $html);
|
||||
}
|
||||
|
||||
private function reportService(): AdminAppTicketReportService
|
||||
@@ -114,8 +114,7 @@ class AdminAppTicketExportServiceTest extends TestCase
|
||||
'type' => 'Cena',
|
||||
'amount' => 8000.0,
|
||||
'client' => 'Cliente Test',
|
||||
'ticket' => '00000000-0000-0000-0000-000000000001',
|
||||
'date' => now(),
|
||||
'id' => 25,
|
||||
'status' => 'used',
|
||||
'scanned_by' => 'Admin Test',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user