mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Quotes page: Show message when trying to approve non-approvable quotes
This commit is contained in:
parent
87a2a76525
commit
a9ac73264e
@ -121,7 +121,9 @@ class QuoteController extends Controller
|
||||
->get();
|
||||
|
||||
if (!$quotes || $quotes->count() == 0) {
|
||||
return redirect()->route('client.quotes.index');
|
||||
return redirect()
|
||||
->route('client.quotes.index')
|
||||
->with('message', ctrans('texts.quotes_with_status_sent_can_be_approved'));
|
||||
}
|
||||
|
||||
if ($process) {
|
||||
|
@ -4278,6 +4278,7 @@ $LANG = array(
|
||||
'one_time_purchases' => 'One time purchases',
|
||||
'recurring_purchases' => 'Recurring purchases',
|
||||
'you_might_be_interested_in_following' => 'You might be interested in following',
|
||||
'quotes_with_status_sent_can_be_approved' => 'Only quotes with "Sent" status can be approved.',
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
Loading…
x
Reference in New Issue
Block a user