(function (_super, paw, utils) {
    paw.lang.extend(TplLtDobavitelj, _super);
    function TplLtDobavitelj(setterValueField, localization, setterType) {
        _super.call(this, setterType || 'ltDobavitelj', setterValueField, localization);
    }

    TplLtDobavitelj.prototype.headerMarkup = function (item) {
        return [
            '<td class="tpl-col-40">',
            '   <span>' + this.localization.company + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + this.localization.title + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + this.localization.address + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + this.localization.post + '</span>',
            '</td>'
            // no VAT code from meta data result
            //'<td class="tpl-col-25">',
            //'   <span>' + this.localization.vatNumber + '</span>',
            //'</td>'
        ];
    };

    TplLtDobavitelj.prototype.rowMarkup = function (item) {
        return [
            '<td class="tpl-col-40">',
            '   <span>' + item.acSubject + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + item.acName2 + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + item.acAddress + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + item.acPost + '</span>',
            '</td>'
            // no VAT code from meta data result
            //'<td class="tpl-col-25">',
            //'   <span>' + item.acVat + '</span>',
            //'</td>'
        ];
    };

    paw.com.documentMetadata.tpl.TplLtDobavitelj = TplLtDobavitelj;
})(paw.com.documentMetadata.DocumentMetadataLookupTpl, paw, paw.utils);