mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for live preview
This commit is contained in:
parent
f21a60c159
commit
efad096dfb
@ -53,7 +53,7 @@ class PreviewInvoiceRequest extends Request
|
||||
$input['line_items'] = isset($input['line_items']) ? $this->cleanItems($input['line_items']) : [];
|
||||
$input['amount'] = 0;
|
||||
$input['balance'] = 0;
|
||||
$input['number'] = null;
|
||||
$input['number'] = ctrans('texts.live_preview') . "# ". rand(0,100);
|
||||
|
||||
$this->replace($input);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user