mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Removed product key length limit
This commit is contained in:
parent
8b7eace221
commit
839fc6bb75
@ -356,7 +356,7 @@ define('NINJA_GATEWAY_ID', GATEWAY_STRIPE);
|
||||
define('NINJA_GATEWAY_CONFIG', '');
|
||||
define('NINJA_WEB_URL', 'https://www.invoiceninja.com');
|
||||
define('NINJA_APP_URL', 'https://app.invoiceninja.com');
|
||||
define('NINJA_VERSION', '2.2.0');
|
||||
define('NINJA_VERSION', '2.2.1');
|
||||
define('NINJA_DATE', '2000-01-01');
|
||||
define('NINJA_FROM_EMAIL', 'maildelivery@invoiceninja.com');
|
||||
define('RELEASES_URL', 'https://github.com/hillelcoren/invoice-ninja/releases/');
|
||||
|
@ -32588,7 +32588,7 @@ function displayInvoiceItems(doc, invoice, layout) {
|
||||
}
|
||||
shownItem = true;
|
||||
|
||||
var numLines = doc.splitTextToSize(item.notes, 200).length + 2;
|
||||
var numLines = Math.max(doc.splitTextToSize(item.notes, 200).length, doc.splitTextToSize(item.product_key, 60).length) + 2;
|
||||
//console.log('num lines %s', numLines);
|
||||
|
||||
var y = tableTop + (line * layout.tableRowHeight) + (2 * layout.tablePadding);
|
||||
|
@ -1053,7 +1053,7 @@ function displayInvoiceItems(doc, invoice, layout) {
|
||||
}
|
||||
shownItem = true;
|
||||
|
||||
var numLines = doc.splitTextToSize(item.notes, 200).length + 2;
|
||||
var numLines = Math.max(doc.splitTextToSize(item.notes, 200).length, doc.splitTextToSize(item.product_key, 60).length) + 2;
|
||||
//console.log('num lines %s', numLines);
|
||||
|
||||
var y = tableTop + (line * layout.tableRowHeight) + (2 * layout.tablePadding);
|
||||
|
@ -4,7 +4,7 @@
|
||||
@parent
|
||||
|
||||
{!! Former::open($url)->method($method)
|
||||
->rules(['product_key' => 'required|max:20'])
|
||||
->rules(['product_key' => 'required|max:255'])
|
||||
->addClass('col-md-8 col-md-offset-2 warn-on-exit') !!}
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
{!! Former::open($url)->method($method)->addClass('warn-on-exit')->rules(array(
|
||||
'client' => 'required',
|
||||
'product_key' => 'max:20'
|
||||
'product_key' => 'max:255'
|
||||
)) !!}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user