not showing edit button
This commit is contained in:
		@@ -47,6 +47,7 @@
 | 
			
		||||
                </thead>
 | 
			
		||||
                <tbody>
 | 
			
		||||
                @foreach($invoices as $item)
 | 
			
		||||
                    @php $paid = $item->paid; @endphp
 | 
			
		||||
                    <tr>
 | 
			
		||||
                        <td><a href="{{ url('incomes/invoices/' . $item->id . ' ') }}">{{ $item->invoice_number }}</a></td>
 | 
			
		||||
                        <td>{{ $item->customer_name }}</td>
 | 
			
		||||
@@ -61,7 +62,7 @@
 | 
			
		||||
                                </button>
 | 
			
		||||
                                <ul class="dropdown-menu dropdown-menu-right">
 | 
			
		||||
                                    <li><a href="{{ url('incomes/invoices/' . $item->id) }}">{{ trans('general.show') }}</a></li>
 | 
			
		||||
                                    @if ($item->paid && !$item->reconciled)
 | 
			
		||||
                                    @if (!$item->reconciled)
 | 
			
		||||
                                    <li><a href="{{ url('incomes/invoices/' . $item->id . '/edit') }}">{{ trans('general.edit') }}</a></li>
 | 
			
		||||
                                    @endif
 | 
			
		||||
                                    @permission('create-incomes-invoices')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user