Financial Data
Quarterly Earnings Reports
',
itemLoadingMessage: '
Loading financial reports for the selected year...
',
template: (
'
' +
'{{#years}}{{/years}}' +
'
' +
'{{#years}}' +
'
' +
'{{#items}}'+
'
' +
'
{{shortType}}
' +
'
' +
'{{#docs}}' +
'
' +
'{{/docs}}' +
'
' +
'
' +
'{{/items}}' +
'
' +
'{{/years}}'
),
beforeRender: function(itm, data) {
$.each(data.types, function(idx, item) {
switch (item.shortType) {
case 'Q4':
item.shortType = 'Q4 & FY'
break;
}
});
},
complete: function(e) {
q4Defaults.tabs($(e.target),'.module-financial-years', '.tabs_link', '.tabs_content', false,false, true);
}
});
$('.module-financial-data .module_container--content-10k').financials({
usePublic: GetViewType() != "0",
apiKey: Q4ApiKey,
fetchAllYears: true,
limit: 4,
reportTypes: ["Annual Report"],
loadingMessage: '
Loading financial reports...
',
itemLoadingMessage: '
Loading financial reports for the selected year...
',
template: (
'
Annual Reports on Form 10-K
' +
'{{#items}}' +
'
' +
'
' +
'{{#docs}}' +
'{{#show}}' +
'
' +
'{{/show}}' +
'{{/docs}}' +
'
' +
'
' +
'{{/items}}'
),
beforeRender: function(e, tpl){
$.each(tpl.items, function(i,item){
$.each(item.docs, function(j, doc){
if (doc.docCategory == 'annual' ) { /*Show only without this Category*/
doc.show = true;
}
});
});
},
complete: function(e) {
$(e.target).find('a[href*=".pdf"]').attr('target', '_blank');
}
});
$('.module-financial-data .module_container--content-reports').downloads({
usePublic: GetViewType() != "0",
apiKey: Q4ApiKey,
downloadType: 'Additional Reports',
loadingMessage: '
Loading additional reports...
',
itemLoadingMessage: '
Loading additional reports...
',
template: (
'
Additional Reports
' +
'{{#items}}' +
'
' +
'{{/items}}'
),
complete: function(e) {
$(e.target).find('a[href*=".pdf"]').attr('target', '_blank');
}
});