2020-03-23 18:10:42 +01:00
|
|
|
@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
|
|
|
|
|
|
|
|
<div class="bg-white shadow rounded mb-4" translate>
|
|
|
|
<div class="px-4 py-5 sm:p-6">
|
|
|
|
<div class="sm:flex sm:items-start sm:justify-between">
|
|
|
|
<div>
|
|
|
|
<h3 class="text-lg leading-6 font-medium text-gray-900">
|
|
|
|
{{ ctrans('texts.quotes') }}
|
|
|
|
</h3>
|
|
|
|
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
|
|
|
|
<p translate>
|
|
|
|
{{ ctrans('texts.list_of_quotes') }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
<div class="flex justify-between items-center">
|
|
|
|
<span>{{ ctrans('texts.with_selected') }}</span>
|
|
|
|
<form action="{{ route('client.quotes.bulk') }}" method="post" id="bulkActions">
|
|
|
|
@csrf
|
|
|
|
<button type="submit" class="button button-primary" name="action"
|
|
|
|
value="download">{{ ctrans('texts.download') }}</button>
|
|
|
|
<button type="submit" class="button button-primary" name="action"
|
|
|
|
value="approve">{{ ctrans('texts.approve') }}</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-col mt-4">
|
2020-04-23 00:49:23 +02:00
|
|
|
@livewire('quotes-table')
|
2020-03-23 18:10:42 +01:00
|
|
|
</div>
|
2020-04-23 00:49:23 +02:00
|
|
|
@endsection
|