2018-11-17 13:13:15 +03:00
|
|
|
@extends('layouts.admin')
|
|
|
|
|
|
|
|
@section('title', trans_choice('general.notifications', 2))
|
|
|
|
|
2021-06-19 18:16:09 +03:00
|
|
|
@section('new_button')
|
|
|
|
<a href="{{ route('notifications.read-all') }}" class="btn btn-outline-success rounded-circle btn-icon-only btn-sm" data-toggle="tooltip" data-placement="right" title="{{ trans('notifications.mark_read_all') }}">
|
|
|
|
<span class="btn-inner--icon"><i class="fas fa-check-double pt-2"></i></span>
|
|
|
|
</a>
|
|
|
|
@endsection
|
|
|
|
|
2018-11-17 13:13:15 +03:00
|
|
|
@section('content')
|
2021-06-19 18:16:09 +03:00
|
|
|
@stack('new_apps')
|
|
|
|
|
|
|
|
<livewire:common.notifications.new-apps />
|
|
|
|
|
|
|
|
@stack('exports')
|
|
|
|
|
|
|
|
<livewire:common.notifications.exports />
|
|
|
|
|
|
|
|
@stack('imports')
|
|
|
|
|
|
|
|
<livewire:common.notifications.imports />
|
|
|
|
|
|
|
|
@stack('invoices_recurring')
|
|
|
|
|
|
|
|
<livewire:common.notifications.recurring type="invoice" text-title="notifications.recurring_invoices" />
|
|
|
|
|
|
|
|
@stack('invoices_reminder')
|
|
|
|
|
|
|
|
<livewire:common.notifications.reminder type="invoice" text-title="widgets.overdue_invoices" />
|
|
|
|
|
|
|
|
@stack('bills_recurring')
|
|
|
|
|
2021-06-27 14:47:59 +03:00
|
|
|
<livewire:common.notifications.recurring type="bill" text-title="notifications.recurring_bills" />
|
2021-06-19 18:16:09 +03:00
|
|
|
|
|
|
|
@stack('bills_reminder')
|
|
|
|
|
|
|
|
<livewire:common.notifications.reminder type="bill" text-title="notifications.upcoming_bills" />
|
|
|
|
|
|
|
|
@stack('end')
|
2018-11-17 13:13:15 +03:00
|
|
|
@endsection
|
2021-06-19 18:16:09 +03:00
|
|
|
|
|
|
|
@push('body_js')
|
|
|
|
<script type="text/javascript">
|
|
|
|
var hash_split = location.hash.split('#');
|
|
|
|
|
2021-06-20 16:32:48 +03:00
|
|
|
if (hash_split[1] != undefined && document.getElementById(hash_split[1]) != null) {
|
2021-06-19 18:16:09 +03:00
|
|
|
document.getElementById(hash_split[1]).scrollIntoView({
|
|
|
|
behavior: 'smooth'
|
|
|
|
});
|
2021-06-27 15:25:04 +03:00
|
|
|
|
|
|
|
document.getElementById('collapse-' + hash_split[1]).classList.add('show');
|
|
|
|
document.getElementById('heading-' + hash_split[1]).ariaExpanded = 'true';
|
2021-06-19 18:16:09 +03:00
|
|
|
}
|
|
|
|
</script>
|
2021-06-20 16:32:48 +03:00
|
|
|
@endpush
|
|
|
|
|
|
|
|
@push('scripts_start')
|
|
|
|
<script src="{{ asset('public/vendor/bootstrap-notify/bootstrap-notify.min.js') }}"></script>
|
2021-06-19 18:16:09 +03:00
|
|
|
@endpush
|