Added customer_nr to database and invoice templates.
Used standard DATEV format(10000 – 69999) Fixes #31
This commit is contained in:
Vendored
+1
@@ -92,6 +92,7 @@ export interface Customer {
|
||||
id: number;
|
||||
type: string;
|
||||
companyName: string | null;
|
||||
customerNr: number | null;
|
||||
vatId: string | null;
|
||||
contacts: Contact[];
|
||||
email?: string;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<!-- TODO: billing_data verwenden, nicht Kundendaten -->
|
||||
<!DOCTYPE html lang="de">
|
||||
<html>
|
||||
|
||||
@@ -81,6 +80,14 @@
|
||||
{{ $invoice['nr'] }}
|
||||
</td>
|
||||
</tr>
|
||||
@if($invoice['customer']['customerNr'])
|
||||
<tr>
|
||||
<th>Kunden-Nr.</th>
|
||||
<td>
|
||||
{{ $invoice['customer']['customerNr'] }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<th>Datum</th>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user