notifications and save buttons fixed
This commit is contained in:
		@@ -124,14 +124,16 @@
 | 
			
		||||
                                <i class="far fa-bell"></i>
 | 
			
		||||
                            </span>
 | 
			
		||||
                            @if ($notifications)
 | 
			
		||||
                                <span class="badge badge-md badge-circle badge-floating badge-warning">{{ $notifications }}</span>
 | 
			
		||||
                                <span class="badge badge-md badge-circle badge-reminder badge-warning">{{ $notifications }}</span>
 | 
			
		||||
                            @endif
 | 
			
		||||
                        </a>
 | 
			
		||||
 | 
			
		||||
                        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right py-0 overflow-hidden">
 | 
			
		||||
                            <div class="px-3 py-3">
 | 
			
		||||
                                <a class="text-sm text-muted m-0">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
 | 
			
		||||
                            </div>
 | 
			
		||||
                            @if ($notifications)
 | 
			
		||||
                                <div class="p-3">
 | 
			
		||||
                                    <a class="text-sm text-muted">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
 | 
			
		||||
                                </div>
 | 
			
		||||
                            @endif
 | 
			
		||||
 | 
			
		||||
                            <div class="list-group list-group-flush">
 | 
			
		||||
                                @if (count($bills))
 | 
			
		||||
@@ -153,7 +155,7 @@
 | 
			
		||||
                                    <a href="{{ route('users.read.invoices', $user->id) }}" class="list-group-item list-group-item-action">
 | 
			
		||||
                                        <div class="row align-items-center">
 | 
			
		||||
                                            <div class="col-auto">
 | 
			
		||||
                                                <i class="fa fa-money-bill-alt"></i>
 | 
			
		||||
                                                <i class="fa fa-money-bill"></i>
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                            <div class="col ml--2">
 | 
			
		||||
                                                <div class="d-flex justify-content-between align-items-center">
 | 
			
		||||
@@ -165,7 +167,11 @@
 | 
			
		||||
                                @endif
 | 
			
		||||
                            </div>
 | 
			
		||||
 | 
			
		||||
                            <a href="#" class="dropdown-item text-center text-success font-weight-bold py-3">{{ trans('header.notifications.view_all') }}</a>
 | 
			
		||||
                            @if ($notifications)
 | 
			
		||||
                                <a href="#" class="dropdown-item text-center text-primary font-weight-bold py-3">{{ trans('header.notifications.view_all') }}</a>
 | 
			
		||||
                            @else
 | 
			
		||||
                                <a class="dropdown-item text-center text-primary font-weight-bold py-3">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
 | 
			
		||||
                            @endif
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </li>
 | 
			
		||||
 | 
			
		||||
@@ -176,7 +182,7 @@
 | 
			
		||||
                                    <i class="fa fa-sync-alt"></i>
 | 
			
		||||
                                </span>
 | 
			
		||||
                                @if ($updates)
 | 
			
		||||
                                    <span class="badge badge-md badge-circle badge-floating badge-warning">{{ $updates }}</span>
 | 
			
		||||
                                    <span class="badge badge-md badge-circle badge-update badge-warning">{{ $updates }}</span>
 | 
			
		||||
                                @endif
 | 
			
		||||
                            </a>
 | 
			
		||||
                        </li>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,14 +1,14 @@
 | 
			
		||||
@stack('save_buttons_start')
 | 
			
		||||
 | 
			
		||||
    <div class="{{ $col }}">
 | 
			
		||||
        <a href="{{ url($cancel) }}" class="btn btn-icon btn-outline-secondary">
 | 
			
		||||
        <a href="{{ url($cancel) }}" class="btn btn-icon btn-outline-secondary header-button-top">
 | 
			
		||||
            <span class="btn-inner--icon"><i class="fas fa-times"></i></span>
 | 
			
		||||
            <span class="btn-inner--text">{{ trans('general.cancel') }}</span>
 | 
			
		||||
        </a>
 | 
			
		||||
 | 
			
		||||
        {!! Form::button(
 | 
			
		||||
        '<div v-if="form.loading" class="aka-loader-frame"><div class="aka-loader"></div></div> <span v-if="!form.loading" class="btn-inner--icon"><i class="fas fa-save"></i></span>' . '<span v-if="!form.loading" class="btn-inner--text"> ' . trans('general.save') . '</span>',
 | 
			
		||||
        [':disabled' => 'form.loading', 'type' => 'submit', 'class' => 'btn btn-icon btn-success button-submit', 'data-loading-text' => trans('general.loading')]) !!}
 | 
			
		||||
        [':disabled' => 'form.loading', 'type' => 'submit', 'class' => 'btn btn-icon btn-success button-submit header-button-top', 'data-loading-text' => trans('general.loading')]) !!}
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@stack('save_buttons_end')
 | 
			
		||||
 
 | 
			
		||||
@@ -15,12 +15,17 @@
 | 
			
		||||
                <li class="nav-item dropdown">
 | 
			
		||||
                    <a class="nav-link" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 | 
			
		||||
                        <i class="far fa-bell"></i>
 | 
			
		||||
                        @if ($notifications)
 | 
			
		||||
                            <span class="badge badge-md badge-circle badge-reminder badge-warning">{{ $notifications }}</span>
 | 
			
		||||
                        @endif
 | 
			
		||||
                    </a>
 | 
			
		||||
 | 
			
		||||
                    <div class="dropdown-menu dropdown-menu-xl dropdown-menu-right py-0 overflow-hidden">
 | 
			
		||||
                        <div class="px-3 py-3">
 | 
			
		||||
                            <a class="text-sm text-muted m-0">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
 | 
			
		||||
                        </div>
 | 
			
		||||
                        @if ($notifications)
 | 
			
		||||
                            <div class="p-3">
 | 
			
		||||
                                <a class="text-sm text-muted m-0">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
 | 
			
		||||
                            </div>
 | 
			
		||||
                        @endif
 | 
			
		||||
 | 
			
		||||
                        <div class="list-group list-group-flush">
 | 
			
		||||
                            @if (count($bills))
 | 
			
		||||
@@ -42,7 +47,7 @@
 | 
			
		||||
                                <a href="{{ url('auth/users/' . $user->id . '/read-invoices') }}" class="list-group-item list-group-item-action">
 | 
			
		||||
                                    <div class="row align-items-center">
 | 
			
		||||
                                        <div class="col-auto">
 | 
			
		||||
                                            <i class="fa fa-money-bill-alt"></i>
 | 
			
		||||
                                            <i class="fa fa-money-bill"></i>
 | 
			
		||||
                                        </div>
 | 
			
		||||
                                        <div class="col ml--2">
 | 
			
		||||
                                            <div class="d-flex justify-content-between align-items-center">
 | 
			
		||||
@@ -54,7 +59,11 @@
 | 
			
		||||
                            @endif
 | 
			
		||||
                        </div>
 | 
			
		||||
 | 
			
		||||
                        <a href="#!" class="dropdown-item text-center text-success font-weight-bold py-3">{{ trans('header.notifications.view_all') }}</a>
 | 
			
		||||
                        @if ($notifications)
 | 
			
		||||
                            <a href="#" class="dropdown-item text-center text-primary font-weight-bold py-3">{{ trans('header.notifications.view_all') }}</a>
 | 
			
		||||
                        @else
 | 
			
		||||
                            <a class="dropdown-item text-center text-primary font-weight-bold py-3">{{ trans_choice('header.notifications.counter', $notifications, ['count' => $notifications]) }}</a>
 | 
			
		||||
                        @endif
 | 
			
		||||
                    </div>
 | 
			
		||||
                </li>
 | 
			
		||||
 | 
			
		||||
@@ -65,7 +74,7 @@
 | 
			
		||||
                                <i class="fa fa-sync-alt"></i>
 | 
			
		||||
                            </span>
 | 
			
		||||
                            @if ($updates)
 | 
			
		||||
                                <span class="badge badge-md badge-circle badge-floating badge-warning">{{ $updates }}</span>
 | 
			
		||||
                                <span class="badge badge-md badge-circle badge-update badge-warning">{{ $updates }}</span>
 | 
			
		||||
                            @endif
 | 
			
		||||
                        </a>
 | 
			
		||||
                    </li>
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,6 @@
 | 
			
		||||
        'url' => 'common/reports/' . $class->report->id . '/display',
 | 
			
		||||
        'role' => 'form',
 | 
			
		||||
        'method' => 'GET',
 | 
			
		||||
        'class' => 'mb-0',
 | 
			
		||||
    ]) !!}
 | 
			
		||||
 | 
			
		||||
    <div id="items" class="float-left">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user