mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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++) {
|
||||
var item = NINJA.processItem(row[j], section);
|
||||
if (!item.text) {
|
||||
isBlank = true;
|
||||
isBlank = true;
|
||||
}
|
||||
if (j == 1) {
|
||||
NINJA.processItem(row[j], section + "Value");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!isBlank) {
|
||||
newData.push(oldData[i]);
|
||||
}
|
||||
}
|
||||
return newData;
|
||||
return newData;
|
||||
}
|
||||
|
||||
NINJA.processItem = function(item, section) {
|
||||
@ -32129,8 +32129,8 @@ NINJA.parseMarkdownText = function(val, groupText)
|
||||
var rules = [
|
||||
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
||||
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
||||
['^##(.+?)$', {'style': 'subheader'}], // ## Header
|
||||
['^#(.+?)$', {'style': 'header'}] // # Subheader
|
||||
['^##(.*)', {'style': 'subheader'}], // ## Header
|
||||
['^#(.*)', {'style': 'header'}] // # Subheader
|
||||
];
|
||||
|
||||
var parts = typeof val === 'string' ? [val] : val;
|
||||
|
@ -573,8 +573,8 @@ NINJA.parseMarkdownText = function(val, groupText)
|
||||
var rules = [
|
||||
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
||||
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
||||
['^##(.+?)$', {'style': 'subheader'}], // ## Header
|
||||
['^#(.+?)$', {'style': 'header'}] // # Subheader
|
||||
['^##(.*)', {'style': 'subheader'}], // ## Header
|
||||
['^#(.*)', {'style': 'header'}] // # Subheader
|
||||
];
|
||||
|
||||
var parts = typeof val === 'string' ? [val] : val;
|
||||
|
@ -22,7 +22,7 @@ return array(
|
||||
'additional_info' => 'Additional Info',
|
||||
'payment_terms' => 'Payment Terms',
|
||||
'currency_id' => 'Currency',
|
||||
'size_id' => 'Size',
|
||||
'size_id' => 'Company Size',
|
||||
'industry_id' => 'Industry',
|
||||
'private_notes' => 'Private Notes',
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user