mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 10:08:08 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| @extends('portal.ninja2020.layout.app')
 | |
| @section('meta_title', ctrans('texts.quotes'))
 | |
| 
 | |
| @section('header')
 | |
|     @if ($errors->any())
 | |
|         <div class="alert alert-failure mb-4">
 | |
|             @foreach ($errors->all() as $error)
 | |
|                 <p>{{ $error }}</p>
 | |
|             @endforeach
 | |
|         </div>
 | |
|     @endif
 | |
| @endsection
 | |
| 
 | |
| @section('body')
 | |
|     <div class="flex justify-between items-center">
 | |
|         <form action="{{ route('client.quotes.bulk') }}" method="post" id="bulkActions">
 | |
|             @csrf
 | |
|             <button type="submit"
 | |
|                 onclick="setTimeout(() => this.disabled = true, 0); setTimeout(() => this.disabled = false, 5000); return true;"
 | |
|                 class="button button-primary bg-primary" name="action"
 | |
|                 value="download">{{ ctrans('texts.download') }}</button>
 | |
|             <button type="submit" onclick="setTimeout(() => this.disabled = true, 0); return true;"
 | |
|                 class="button button-primary bg-primary" name="action"
 | |
|                 value="approve">{{ ctrans('texts.approve') }}</button>
 | |
|         </form>
 | |
|     </div>
 | |
| 
 | |
|     <div class="flex flex-col mt-4">
 | |
|         @livewire('quotes-table', ['company' => $company])
 | |
|     </div>
 | |
| @endsection
 |