(function (_super, paw, utils) {
    paw.lang.extend(TplLtSubj, _super);
    function TplLtSubj(setterValueField, localization) {
        _super.call(this, 'ltSubj', setterValueField, localization);
    }

    TplLtSubj.prototype.headerMarkup = function (item) {
        return [
            '<td class="tpl-col-20">',
            '   <span>' + this.localization.subject + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + this.localization.name2 + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + this.localization.address + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + this.localization.post + '</span>',
            '</td>',
            '<td class="tpl-col-20">',
            '   <span>' + this.localization.phone + '</span>',
            '</td>'
        ];
    };

    TplLtSubj.prototype.rowMarkup = function (item) {
        return [
            '<td class="tpl-col-20">',
            '   <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>',
            '<td class="tpl-col-20">',
            '   <span>' + item.acPhone + '</span>',
            '</td>'
        ];
    };

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