mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-21 00:41:34 +02:00
Merge pull request #3905 from beganovich/v2-1407-fixes-for-quotes-page
Fixes for quote page
This commit is contained in:
commit
4360a6f0b4
@ -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…
Reference in New Issue
Block a user