Index page path changes..
This commit is contained in:
		@@ -13,21 +13,21 @@
 | 
			
		||||
@section('content')
 | 
			
		||||
    @if ($bills->count())
 | 
			
		||||
        <div class="card">
 | 
			
		||||
            <div class="card-header border-bottom-0" v-bind:class="[bulk_action.show ? 'bg-gradient-primary' : '']">
 | 
			
		||||
            <div class="card-header border-bottom-0" :class="[{'bg-gradient-primary': bulk_action.show}]">
 | 
			
		||||
                {!! Form::open([
 | 
			
		||||
                    'url' => 'purchases/bills',
 | 
			
		||||
                    'role' => 'form',
 | 
			
		||||
                    'method' => 'GET',
 | 
			
		||||
                    'route' => 'bills.index',
 | 
			
		||||
                    'role' => 'form',
 | 
			
		||||
                    'class' => 'mb-0'
 | 
			
		||||
                ]) !!}
 | 
			
		||||
                    <div class="row" v-if="!bulk_action.show">
 | 
			
		||||
                        <div class="col-12 d-flex align-items-center">
 | 
			
		||||
                            <span class="font-weight-400 d-none d-lg-block mr-2">{{ trans('general.search') }}:</span>
 | 
			
		||||
                            <akaunting-search></akaunting-search>
 | 
			
		||||
                        </div>
 | 
			
		||||
                    <div class="align-items-center" v-if="!bulk_action.show">
 | 
			
		||||
                        <akaunting-search
 | 
			
		||||
                            :placeholder="'{{ trans('general.search_placeholder') }}'"
 | 
			
		||||
                            :options="{{ json_encode([]) }}"
 | 
			
		||||
                        ></akaunting-search>
 | 
			
		||||
                    </div>
 | 
			
		||||
 | 
			
		||||
                    {{ Form::bulkActionRowGroup('general.bills', $bulk_actions, 'purchases/bills') }}
 | 
			
		||||
                    {{ Form::bulkActionRowGroup('general.bills', $bulk_actions, ['group' => 'purchases', 'type' => 'bills']) }}
 | 
			
		||||
                {!! Form::close() !!}
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
@@ -76,7 +76,7 @@
 | 
			
		||||
                                            @permission('delete-purchases-bills')
 | 
			
		||||
                                                <div class="dropdown-divider"></div>
 | 
			
		||||
                                                @if (!$item->reconciled)
 | 
			
		||||
                                                    {!! Form::deleteLink($item, 'purchases/bills') !!}
 | 
			
		||||
                                                    {!! Form::deleteLink($item, 'bills.destroy') !!}
 | 
			
		||||
                                                @endif
 | 
			
		||||
                                            @endpermission
 | 
			
		||||
                                        </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user