mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for quote page
This commit is contained in:
parent
d69bc00ce5
commit
556e1280d0
@ -11,6 +11,8 @@
|
||||
|
||||
namespace App\Events\Quote;
|
||||
|
||||
use App\Models\Company;
|
||||
use App\Models\Quote;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
/**
|
||||
|
@ -112,7 +112,9 @@ class QuoteController extends Controller
|
||||
event(new QuoteWasApproved($quote, $quote->company, Ninja::eventVars()));
|
||||
}
|
||||
|
||||
return route('client.quotes.index')->withSuccess('Quote(s) approved successfully.');
|
||||
return redirect()
|
||||
->route('client.quotes.index')
|
||||
->withSuccess('Quote(s) approved successfully.');
|
||||
}
|
||||
|
||||
return $this->render('quotes.approve', [
|
||||
|
@ -37,7 +37,7 @@
|
||||
<div class="px-4 py-5 border-b border-gray-200 sm:px-6">
|
||||
<h3 class="text-lg leading-6 font-medium text-gray-900">
|
||||
{{ ctrans('texts.invoice') }}
|
||||
<a class="button-link" href="{{ route('client.quotes.show', $quote->hashed_id) }}">
|
||||
<a class="button-link" href="{{ route('client.quote.show', $quote->hashed_id) }}">
|
||||
({{ $quote->number }})
|
||||
</a>
|
||||
</h3>
|
||||
|
Loading…
x
Reference in New Issue
Block a user