mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor changes
This commit is contained in:
parent
cb16e7f950
commit
857b86471e
@ -32101,17 +32101,17 @@ NINJA.prepareDataPairs = function(oldData, section) {
|
|||||||
for (var j=0; j<row.length; j++) {
|
for (var j=0; j<row.length; j++) {
|
||||||
var item = NINJA.processItem(row[j], section);
|
var item = NINJA.processItem(row[j], section);
|
||||||
if (!item.text) {
|
if (!item.text) {
|
||||||
isBlank = true;
|
isBlank = true;
|
||||||
}
|
}
|
||||||
if (j == 1) {
|
if (j == 1) {
|
||||||
NINJA.processItem(row[j], section + "Value");
|
NINJA.processItem(row[j], section + "Value");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!isBlank) {
|
if (!isBlank) {
|
||||||
newData.push(oldData[i]);
|
newData.push(oldData[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return newData;
|
return newData;
|
||||||
}
|
}
|
||||||
|
|
||||||
NINJA.processItem = function(item, section) {
|
NINJA.processItem = function(item, section) {
|
||||||
@ -32129,8 +32129,8 @@ NINJA.parseMarkdownText = function(val, groupText)
|
|||||||
var rules = [
|
var rules = [
|
||||||
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
||||||
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
||||||
['^##(.+?)$', {'style': 'subheader'}], // ## Header
|
['^##(.*)', {'style': 'subheader'}], // ## Header
|
||||||
['^#(.+?)$', {'style': 'header'}] // # Subheader
|
['^#(.*)', {'style': 'header'}] // # Subheader
|
||||||
];
|
];
|
||||||
|
|
||||||
var parts = typeof val === 'string' ? [val] : val;
|
var parts = typeof val === 'string' ? [val] : val;
|
||||||
|
@ -573,8 +573,8 @@ NINJA.parseMarkdownText = function(val, groupText)
|
|||||||
var rules = [
|
var rules = [
|
||||||
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
||||||
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
||||||
['^##(.+?)$', {'style': 'subheader'}], // ## Header
|
['^##(.*)', {'style': 'subheader'}], // ## Header
|
||||||
['^#(.+?)$', {'style': 'header'}] // # Subheader
|
['^#(.*)', {'style': 'header'}] // # Subheader
|
||||||
];
|
];
|
||||||
|
|
||||||
var parts = typeof val === 'string' ? [val] : val;
|
var parts = typeof val === 'string' ? [val] : val;
|
||||||
|
@ -22,7 +22,7 @@ return array(
|
|||||||
'additional_info' => 'Additional Info',
|
'additional_info' => 'Additional Info',
|
||||||
'payment_terms' => 'Payment Terms',
|
'payment_terms' => 'Payment Terms',
|
||||||
'currency_id' => 'Currency',
|
'currency_id' => 'Currency',
|
||||||
'size_id' => 'Size',
|
'size_id' => 'Company Size',
|
||||||
'industry_id' => 'Industry',
|
'industry_id' => 'Industry',
|
||||||
'private_notes' => 'Private Notes',
|
'private_notes' => 'Private Notes',
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user