Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray authored and github-actions[bot] committed Dec 10, 2024
1 parent 894e3ac commit 34f2335
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions examples/sales-invoices/create-sales-invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'postalCode' => '2000 AA',
'city' => 'Amsterdam',
'country' => 'NL',
'locale' => 'nl_NL'
'locale' => 'nl_NL',
],
'lines' => [
[
Expand All @@ -39,10 +39,10 @@
'vatRate' => '21',
'unitPrice' => [
'currency' => 'EUR',
'value' => '10.00' // Corrected the format from '10,00' to '10.00' to match typical API expectations
]
]
]
'value' => '10.00', // Corrected the format from '10,00' to '10.00' to match typical API expectations
],
],
],
]);

echo "<p>New sales invoice created with ID: " . htmlspecialchars($salesInvoice->id) . "</p>";
Expand Down
8 changes: 4 additions & 4 deletions examples/sales-invoices/update-sales-invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
'vatRate' => '21',
'unitPrice' => [
'currency' => 'EUR',
'value' => '15.00'
]
]
]
'value' => '15.00',
],
],
],
]);

echo "<p>Sales invoice updated with ID: " . htmlspecialchars($updatedInvoice->id) . "</p>";
Expand Down

0 comments on commit 34f2335

Please sign in to comment.