{strip} {if empty($company.id)} {$_new_company = [ "0" => [ "id" => false, "name" => "[`New company`]" ] ]} {$companies = $_new_company + $companies} {/if}
{* HEADER *}

[`Companies`]

[`Add new company`]
[`Logo`]
{* IMAGE *}
{* DROPAREA + INPUT *}
[`Drag-n-drop company logo here`]
{* DELETE *}
[`Phone`]
[`Address`]
[`Tax name`]
[`Tax options`]
{$_types = [ "INCLUDE" => _w('include'), "APPEND" => _w('append'), "NONE" => _w('none') ]} {function _renderOption}
  • %
  • {/function} {capture assign=tax_option_template}{_renderOption _option=[]}{/capture}
      {if !empty($company.tax_options)} {foreach $company.tax_options as $_option} {_renderOption _option=$_option} {/foreach} {/if}

    [`Invoice template`]

      {foreach $templates as $_template}
    • {$_template.name|escape}

    • {/foreach}
    [`Public links URL`]
    {if $has_storefronts} {else}
    [`A CRM settlement is required to publish invoices.`] [`Use Site app to add a settlement for CRM.`]
    {/if}
    {include file="./SettingsCompaniesRenderParams.html" inline}
    {/strip}