mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-19 17:04:39 -04:00
26 lines
924 B
PHP
26 lines
924 B
PHP
@extends('portal.ninja2020.layout.vendor_app')
|
|
@section('meta_title', ctrans('texts.purchase_orders'))
|
|
|
|
@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 items-center">
|
|
<form action="{{ route('vendor.purchase_orders.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>
|
|
|
|
</form>
|
|
</div>
|
|
<div class="flex flex-col mt-4">
|
|
@livewire('purchase-orders-table', ['company' => $company])
|
|
</div>
|
|
@endsection
|