mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
ac5525c9ac
* Client login, reset and update password page * Client dashboard, sidebar, PortalComposer.php * wip * Personal page & update for details * Invoices, paying & pagination.blade.php * Invoices, recurring invoice & buttons * Payments, link component * Payment methods * Breadcrums, clean up & wrap up * Remove format_date() method to formatDate on object * Payments - $this->render is now proxy for render() - Removed logic from Controller.php to ClientPortal.php - Added MakesDates to ClientGatewayToken.php - StripePaymentDriver.php now returns correct views - Refactor of adding new payment method - Ignoring all local builds for public/js/clients/* * Signature, wip * Fix "Pay now" on single invoice * Payments: - Added ProcessInvoicesInBulk request class - Refactor InvoiceController::bulk() - Displaying terms & payments - New signature.blade.php - Removed comment from webpack.mix.js * Quotes: - Refactor ProcessInvoicesInBulk.php to ProcessInvoicesInBulkRequest.php - Add new 'Quotes' field inside of PortalComposer.php - Added MakesDates to Quote.php - Added Quote::badgeForStatus() - Cleanup payment.blade.php - Quote showing and approving - New resource 'quotes' in client.php - New image for quotes, align-left.svg * Credits: - New 'credits' resource in client.php - Fixes for client.php typo * Breadcrumbs: - Quotes - Credits * Placeholder for translations. * Restore whereIn & client scope Co-authored-by: David Bomba <turbo124@gmail.com>
45 lines
1.9 KiB
PHP
45 lines
1.9 KiB
PHP
@extends('portal.ninja2020.layout.app')
|
|
@section('meta_title', ctrans('texts.view_quote'))
|
|
|
|
@section('header')
|
|
{{ Breadcrumbs::render('quotes.show', $quote) }}
|
|
@endsection
|
|
|
|
@section('body')
|
|
|
|
@if(!$quote->isApproved())
|
|
<form action="{{ route('client.quotes.bulk') }}" method="post">
|
|
@csrf
|
|
<input type="hidden" name="action" value="approve">
|
|
<input type="hidden" name="quotes[]" value="{{ $quote->hashed_id }}">
|
|
<div class="bg-white shadow sm:rounded-lg 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" translate>
|
|
{{ ctrans('texts.waitin_for_approval') }}
|
|
</h3>
|
|
<div class="mt-2 max-w-xl text-sm leading-5 text-gray-500">
|
|
<p translate>
|
|
{{ ctrans('texts.quote_still_not_approved') }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="mt-5 sm:mt-0 sm:ml-6 sm:flex-shrink-0 sm:flex sm:items-center">
|
|
<div class="inline-flex rounded-md shadow-sm">
|
|
<input type="hidden" name="action" value="payment">
|
|
<button class="button button-primary">@lang('texts.approve')</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
@endif
|
|
|
|
<embed src="{{ asset($quote->pdf_file_path()) }}#toolbar=1&navpanes=1&scrollbar=1" type="application/pdf"
|
|
width="100%"
|
|
height="1180px"/>
|
|
|
|
@endsection
|