Add salutation field to contacts #13
This commit is contained in:
+8
-8
@@ -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,
|
||||
]
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user