2020-03-23 18:10:42 +01:00
|
|
|
@extends('portal.ninja2020.layout.app')
|
|
|
|
@section('meta_title', ctrans('texts.invoices'))
|
|
|
|
|
|
|
|
@section('header')
|
|
|
|
|
2020-05-14 03:02:23 +02:00
|
|
|
@if($errors->any())
|
|
|
|
<div class="alert alert-failure mb-4">
|
|
|
|
@foreach($errors->all() as $error)
|
|
|
|
<p>{{ $error }}</p>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
@endif
|
2020-03-23 18:10:42 +01:00
|
|
|
|
2020-05-26 23:45:29 +02:00
|
|
|
<div class="bg-white shadow rounded mb-4">
|
2020-03-23 18:10:42 +01:00
|
|
|
<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.invoices') }}
|
|
|
|
</h3>
|
|
|
|
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
|
2020-05-26 23:45:29 +02:00
|
|
|
<p>
|
2020-03-23 18:10:42 +01:00
|
|
|
{{ ctrans('texts.list_of_invoices') }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('body')
|
2020-04-28 01:50:54 +02:00
|
|
|
<div class="flex justify-end items-center">
|
|
|
|
<span class="text-sm mr-2">{{ ctrans('texts.with_selected') }}:</span>
|
2020-03-23 18:10:42 +01:00
|
|
|
<form action="{{ route('client.invoices.bulk') }}" method="post" id="bulkActions">
|
|
|
|
@csrf
|
2020-04-09 04:18:07 +02:00
|
|
|
<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="payment">{{ ctrans('texts.pay_now') }}</button>
|
2020-03-23 18:10:42 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-col mt-4">
|
2020-04-23 00:49:23 +02:00
|
|
|
@livewire('invoices-table')
|
2020-03-23 18:10:42 +01:00
|
|
|
</div>
|
|
|
|
@endsection
|