Create invoices in XML Format.

This commit is contained in:
2025-01-07 12:52:25 +01:00
parent 8e0696d438
commit c20a3bcdcf
9 changed files with 217 additions and 14 deletions

View File

@@ -1,11 +1,12 @@
<x-app-layout>
<x-slot name="header">
<div class="flex flex-row">
<h2 class="w-1/2 font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
<div class="flex flex-row w-full">
<h2 class="grow font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
{{ __('invoice.Invoice') }} {{ $invoice->number }}
</h2>
<p class="w-1/2 relative">
<x-pdf-icon class="text-gray-800 absolute right-0 cursor-pointer" onclick="window.open('/invoice/{{ $invoice->id }}/download', '_blank', 'popup=true')"/>
<p class="relative flex flex-row">
<x-pdf-icon class="text-gray-800 cursor-pointer" onclick="window.open('/invoice/{{ $invoice->id }}/pdf-download', '_blank', 'popup=true')"/>
<x-e-icon class="cursor-pointer" onclick="window.open('/invoice/{{ $invoice->id }}/xml-download', '_blank', 'popup=true')"/>
</p>
</div>
</x-slot>