1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 07:33:04 +01:00
invoiceninja/resources/views/portal/ninja2020/invoices/index.blade.php

29 lines
1.2 KiB
PHP
Raw Normal View History

2020-03-23 18:10:42 +01:00
@extends('portal.ninja2020.layout.app')
@section('meta_title', ctrans('texts.invoices'))
@section('header')
@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
@endsection
@section('body')
2020-06-15 17:34:26 +02:00
<div class="flex items-center">
2020-03-23 18:10:42 +01:00
<form action="{{ route('client.invoices.bulk') }}" method="post" id="bulkActions">
@csrf
2021-11-12 16:38:31 +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>
@if(!empty(auth()->user()->client->service()->getPaymentMethods(0)))
2021-11-12 16:38:31 +01:00
<button onclick="setTimeout(() => this.disabled = true, 0); return true;" type="submit" class="button button-primary bg-primary" name="action" value="payment">{{ ctrans('texts.pay_now') }}</button>
@endif
2020-03-23 18:10:42 +01:00
</form>
</div>
<div class="flex flex-col mt-4">
2022-12-23 01:39:41 +01:00
@livewire('invoices-table', ['company_id' => $company->id, 'db' => $company->db])
2020-03-23 18:10:42 +01:00
</div>
@endsection