akaunting 3.0 (the last dance)
This commit is contained in:
15
resources/views/modals/invoices/email.blade.php
Normal file
15
resources/views/modals/invoices/email.blade.php
Normal file
@ -0,0 +1,15 @@
|
||||
<x-form id="form-email" :route="[$store_route, $invoice->id]">
|
||||
<x-form.section>
|
||||
<x-slot name="body">
|
||||
<x-form.group.text name="to" label="{{ trans('general.to') }}" value="{{ $invoice->contact->email }}" form-group-class="sm:col-span-6" />
|
||||
|
||||
<x-form.group.text name="subject" label="{{ trans('settings.email.templates.subject') }}" value="{{ $notification->getSubject() }}" form-group-class="sm:col-span-6" />
|
||||
|
||||
<x-form.group.editor name="body" label="{{ trans('settings.email.templates.body') }}" :value="$notification->getBody()" rows="5" data-toggle="quill" form-group-class="sm:col-span-6 mb-0" />
|
||||
|
||||
<x-form.group.checkbox name="user_email" :options="['1' => trans('general.email_send_me', ['email' => user()->email])]" />
|
||||
|
||||
<x-form.input.hidden name="document_id" :value="$invoice->id" />
|
||||
</x-slot>
|
||||
</x-form.section>
|
||||
</x-form>
|
36
resources/views/modals/invoices/share.blade.php
Normal file
36
resources/views/modals/invoices/share.blade.php
Normal file
@ -0,0 +1,36 @@
|
||||
<x-form id="form-share">
|
||||
<div class="text-center">
|
||||
<div class="my-3">
|
||||
{{ trans('invoices.share.show_link') }} :
|
||||
</div>
|
||||
|
||||
<div class="my-3">
|
||||
<x-form.input.text
|
||||
name="share"
|
||||
value="{{ $signedUrl }}"
|
||||
ref="clone"
|
||||
@click="onCopyLink()"
|
||||
class="bg-gray-100 appearance-none border-2 border-gray-100 rounded w-full py-2 px-4 text-gray-700 leading-tight cursor-pointer focus:outline-none focus:ring-transparent focus:border-transparent"
|
||||
/>
|
||||
<x-form.input.hidden name="hidden-share" value="{{ $signedUrl }}" />
|
||||
|
||||
<div data-copied class="hidden h-10 items-center justify-center">
|
||||
<span
|
||||
class="px-2.5 py-1 ltr:ml-2 rtl:mr-2 text-xs font-medium rounded-xl bg-orange-300 text-orange-700"
|
||||
>
|
||||
{{ trans('general.copied') }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="my-3">
|
||||
{{ trans('invoices.share.copy_link') }}
|
||||
</div>
|
||||
|
||||
<div class="my-3">
|
||||
<x-link href="{{ $previewUrl }}" class="flex items-center justify-center gap-x-2 text-purple" override="class" target="_blank">
|
||||
{{ trans('general.preview_in_window') }} <x-icon icon="open_in_new" />
|
||||
</x-link>
|
||||
</div>
|
||||
</div>
|
||||
</x-form>
|
Reference in New Issue
Block a user