= render 'shared/filter', filter_form: 'company/company_clients/filter', class: 'with-margin' #client-list-holder .container-fluid = render 'header', tab_class: {clients: 'active'} .panel.panel-grid.panel-default.p10 .panel-body .pull-right - if @company.vendor? = link_to new_company_company_client_path, class: 'btn btn-primary' = fa_icon 'plus', text: 'CLIENT' - if ReportSetting.enabled?(@company, :clients, :xlsx) = link_to company_clients_path({format: :xlsx}.merge!(params.slice(:q).permit!.to_unsafe_h)), class: 'btn btn-primary ml10', target: :_blank do = fa_icon :'file-excel-o' .col-sm-12 .row .col-sm-3.pl0 = render partial: 'company/company_clients/tabs', locals: {mastertab: 'client'} .col-sm-9 = render partial: 'company/company_clients/card', collection: @company_clients, as: :company_client .card-footer = paginate(@company_clients)