mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Update user input for po number when approving a quote
This commit is contained in:
parent
139843a129
commit
47caaa0be3
@ -178,7 +178,7 @@ class QuoteController extends Controller
|
||||
if ($process) {
|
||||
foreach ($quotes as $quote) {
|
||||
if (request()->has('user_input') && strlen(request()->input('user_input')) > 2) {
|
||||
$quote->public_notes .= $quote->public_notes . "\n" . request()->input('user_input');
|
||||
$quote->po_number = substr(request()->input('user_input'), 0, 180);
|
||||
$quote->saveQuietly();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user