',
// 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-proxy-reports .module_container--content-10k').financials({
usePublic: GetViewType() != "0",
apiKey: Q4ApiKey,
fetchAllYears: true,
limit: 1,
reportTypes: ["Annual Report"],
loadingMessage: '
Loading financial reports...
',
itemLoadingMessage: '
Loading financial reports for the selected year...
',
template: (
'{{#items}}' +
'{{#docs}}' +
'{{#show}}' +
'
' +
'' +
'View the {{docTitle}}' +
'' +
'' +
'{{/show}}' +
'{{/docs}}' +
'{{/items}}'
),
beforeRender: function (e, tpl) {
$.each(tpl.items, function (i, item) {
$.each(item.docs, function (j, doc) {
if (doc.docCategory == 'annual' || doc.docCategory == 'proxy') { /*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}}' +
// '
' +
// '
{{title}}
' +
// '
' +
// '
' +
// '{{/items}}'
// ),
// complete: function (e) {
// $(e.target).find('a[href*=".pdf"]').attr('target', '_blank');
// }
// });