Add salutation field to contacts #13

This commit is contained in:
2025-10-29 13:53:08 +01:00
parent 3ec15d95b0
commit b55f20727d
10 changed files with 26 additions and 13 deletions
+8 -8
View File
@@ -28,11 +28,11 @@
Route::get('/invoices/{id}/remind', function ($id) {
$invoice = InvoiceController::single($id);
Mail::to('daniel@vollstock.de')->send(new Reminder($invoice));
// return new Reminder($invoice);
// Mail::to('daniel@vollstock.de')->send(new Reminder($invoice));
return new Reminder($invoice);
});
Route::get('/offers/{id}/confirmation', function ($id) {
Route::get('/offers/{id}/confirm', function ($id) {
// $offer = offerController::single($id);
$offer = [
'nr' => 0,
@@ -52,23 +52,23 @@
],
'contact' => [
'salutation' => 'Frau',
'firstName' => '',
'lastName' => '',
'firstName' => 'Claudia',
'lastName' => 'Mustermann',
'email' => '',
'phone' => '',
'position' => null,
'isPrimary' => false,
'avatar' => null,
],
'totalAmount' => '13575.88',
'title' => "",
'totalAmount' => '84.033',
'title' => "Angebots-Titel",
'text' => '',
'items' => [],
'paymentTerms' => [
'name' => 'onReceipt',
'description' => 'Bei Rechnungserhalt',
'isFixed' => true,
'days' => null,
'days' => 14,
]
];