2020-03-23 18:10:42 +01:00
|
|
|
@extends('portal.ninja2020.layout.app')
|
|
|
|
@section('meta_title', ctrans('texts.quotes'))
|
|
|
|
|
|
|
|
@section('header')
|
2021-11-12 16:45:18 +01:00
|
|
|
@if ($errors->any())
|
2020-03-23 18:10:42 +01:00
|
|
|
<div class="alert alert-failure mb-4">
|
2021-11-12 16:45:18 +01:00
|
|
|
@foreach ($errors->all() as $error)
|
2020-03-23 18:10:42 +01:00
|
|
|
<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
|
2021-11-12 16:45:18 +01:00
|
|
|
<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>
|
2020-03-23 18:10:42 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
2021-11-12 16:45:18 +01:00
|
|
|
|
2020-03-23 18:10:42 +01:00
|
|
|
<div class="flex flex-col mt-4">
|
2021-06-07 03:06:31 +02:00
|
|
|
@livewire('quotes-table', ['company' => $company])
|
2020-03-23 18:10:42 +01:00
|
|
|
</div>
|
2021-11-12 16:45:18 +01:00
|
|
|
@endsection
|