Portal empty page same invoice finish ( #28km35q )
This commit is contained in:
parent
149303a000
commit
a1f94055d9
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<div class="w-full text-center">
|
<div class="w-full text-center">
|
||||||
<div class="my-10">
|
|
||||||
<img src="https://assets.akaunting.com/software/portal/finish.gif" alt="Get Started" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="my-10">
|
<div class="my-10">
|
||||||
{{ trans('portal.create_your_invoice') }}
|
{{ trans('portal.create_your_invoice') }}
|
||||||
</div>
|
</div>
|
||||||
@ -15,5 +11,9 @@
|
|||||||
{{ trans('portal.get_started') }}
|
{{ trans('portal.get_started') }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="my-10">
|
||||||
|
<img src="https://assets.akaunting.com/software/portal/finish.gif" class="inline" alt="Get Started" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -151,27 +151,31 @@
|
|||||||
<x-pagination :items="$invoices" />
|
<x-pagination :items="$invoices" />
|
||||||
</x-index.container>
|
</x-index.container>
|
||||||
@else
|
@else
|
||||||
<x-empty-page
|
<div class="flex">
|
||||||
group="sales"
|
<div class="w-full text-center">
|
||||||
page="invoices"
|
<div class="my-10">
|
||||||
hide-button-import
|
{{ trans('portal.create_your_invoice') }}
|
||||||
:buttons="[
|
</div>
|
||||||
[
|
|
||||||
'url' => route('transactions.create', ['type' => 'income']),
|
<div class="my-10">
|
||||||
'permission' => 'create-sales-invoices',
|
<a href="https://akaunting.com/lp/accounting-software?utm_source=invoice_index&utm_medium=software&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
||||||
'text' => trans('general.title.new', ['type' => trans_choice('general.incomes', 1)]),
|
{{ trans('portal.get_started') }}
|
||||||
'description' => trans('general.empty.actions.new', ['type' => trans_choice('general.incomes', 1)]),
|
</a>
|
||||||
'active_badge' => false
|
</div>
|
||||||
],
|
|
||||||
[
|
<div class="my-10">
|
||||||
'url' => 'https://akaunting.com/premium-cloud',
|
<img src="https://assets.akaunting.com/software/portal/invoice.gif" class="inline" alt="Get Started" />
|
||||||
'permission' => 'create-sales-invoices',
|
</div>
|
||||||
'text' => trans('import.title', ['type' => trans_choice('general.bank_transactions', 2)]),
|
</div>
|
||||||
'description' => '',
|
</div>
|
||||||
'active_badge' => false
|
|
||||||
]
|
@push('css')
|
||||||
]"
|
<style>
|
||||||
/>
|
.hide-empty-page {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@endpush
|
||||||
@endif
|
@endif
|
||||||
</x-slot>
|
</x-slot>
|
||||||
|
|
||||||
|
@ -59,34 +59,31 @@
|
|||||||
<x-pagination :items="$payments" />
|
<x-pagination :items="$payments" />
|
||||||
</x-index.container>
|
</x-index.container>
|
||||||
@else
|
@else
|
||||||
<x-empty-page
|
<div class="flex">
|
||||||
group="banking"
|
<div class="w-full text-center">
|
||||||
page="transactions"
|
<div class="my-10">
|
||||||
hide-button-import
|
{{ trans('portal.create_your_invoice') }}
|
||||||
:buttons="[
|
</div>
|
||||||
[
|
|
||||||
'url' => route('transactions.create', ['type' => 'income']),
|
<div class="my-10">
|
||||||
'permission' => 'create-banking-transactions',
|
<a href="https://akaunting.com/lp/accounting-software?utm_source=payment_index&utm_medium=software&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
||||||
'text' => trans('general.title.new', ['type' => trans_choice('general.incomes', 1)]),
|
{{ trans('portal.get_started') }}
|
||||||
'description' => trans('general.empty.actions.new', ['type' => trans_choice('general.incomes', 1)]),
|
</a>
|
||||||
'active_badge' => false
|
</div>
|
||||||
],
|
|
||||||
[
|
<div class="my-10">
|
||||||
'url' => route('transactions.create', ['type' => 'expense']),
|
<img src="https://assets.akaunting.com/software/portal/payment.gif" class="inline" alt="Get Started" />
|
||||||
'permission' => 'create-banking-transactions',
|
</div>
|
||||||
'text' => trans('general.title.new', ['type' => trans_choice('general.expenses', 1)]),
|
</div>
|
||||||
'description' => trans('general.empty.actions.new', ['type' => trans_choice('general.expenses', 1)]),
|
</div>
|
||||||
'active_badge' => false
|
|
||||||
],
|
@push('css')
|
||||||
[
|
<style>
|
||||||
'url' => 'https://akaunting.com/premium-cloud',
|
.hide-empty-page {
|
||||||
'permission' => 'create-banking-transactions',
|
display: none;
|
||||||
'text' => trans('import.title', ['type' => trans_choice('general.bank_transactions', 2)]),
|
}
|
||||||
'description' => '',
|
</style>
|
||||||
'active_badge' => false
|
@endpush
|
||||||
]
|
|
||||||
]"
|
|
||||||
/>
|
|
||||||
@endif
|
@endif
|
||||||
</x-slot>
|
</x-slot>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user