mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
4e9bc0552d
- Remove Livewire auto-publish from composer.json - Replace old DocumentController with DownloadsController - Rename DownloadsTable & downloads-table to DocumentsTable & documents-table - New ShowDocumentRequest for displaying documents - Change authorize() with DownloadMultipleDocumentsRequest - Change route in PortalComposer - Update Livewire assets - Remove old documents routes
17 lines
563 B
PHP
17 lines
563 B
PHP
@extends('portal.ninja2020.layout.app')
|
|
@section('meta_title', ctrans('texts.documents'))
|
|
|
|
@section('header')
|
|
@if($client->getSetting('client_portal_enable_uploads'))
|
|
@component('portal.ninja2020.upload.index') @endcomponent
|
|
@endif
|
|
|
|
<script src="{{ asset('js/clients/shared/multiple-downloads.js') }}"></script>
|
|
@endsection
|
|
|
|
@section('body')
|
|
<form action="{{ route('client.documents.download_multiple') }}" method="post" id="multiple-downloads">
|
|
@csrf
|
|
</form>
|
|
@livewire('documents-table', ['client' => $client])
|
|
@endsection |