mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-30 21:54:32 -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) {
|
if ($process) {
|
||||||
foreach ($quotes as $quote) {
|
foreach ($quotes as $quote) {
|
||||||
if (request()->has('user_input') && strlen(request()->input('user_input')) > 2) {
|
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();
|
$quote->saveQuietly();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user