<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; utf-8">
<meta name="author" content=""/>
<meta name="copyright" content="" />

<title></title>
<style type="text/css">
{block name="document_index_css"}
body {
    {$Containers.Body.style}
}

div#head_logo {
    {$Containers.Logo.style}
}

div#head_sender {
    {$Containers.Header_Recipient.style}
}

div#header {
    {$Containers.Header.style}
}

div#head_left {
    {$Containers.Header_Box_Left.style}
}

div#head_right {
    {$Containers.Header_Box_Right.style}
}

div#head_bottom {
    {$Containers.Header_Box_Bottom.style}
}

div#content {
    {$Containers.Content.style}
}

td {
    {$Containers.Td.style}
}

td.name {
    {$Containers.Td_Name.style}
}

td.line {
    {$Containers.Td_Line.style}
}

td.head  {
    {$Containers.Td_Head.style}
}

#footer {
    {$Containers.Footer.style}
}

#amount {
    {$Containers.Content_Amount.style}
}

#sender {
    {$Containers.Header_Sender.style}
}

#info {
    {$Containers.Content_Info.style}
}
{/block}
</style>
</head>

<body>
{block name="document_index_body"}
{foreach from=$Pages item=positions name="pagingLoop" key=page}

    {* @Deprecated: Wrong variable will be removed in next major release *}
    {$postions = $positions}

    <div id="head_logo">
        {$Containers.Logo.value}
    </div>
    <div id="header">
        <div id="head_left">
        {if $smarty.foreach.pagingLoop.first}
            {block name="document_index_selectAdress"}
                {assign var="address" value="billing"}
            {/block}
            <div id="head_sender">
                {block name="document_index_address"}
                    {block name="document_index_address_sender"}
                        <p class="sender">{$Containers.Header_Sender.value}</p>
                    {/block}
                    {block name="document_index_address_base"}
                        {$User.$address.company}<br />
                        {$User.$address.salutation|salutation}
                        {if {config name="displayprofiletitle"}}
                            {$User.$address.title}<br/>
                        {/if}
                        {$User.$address.firstname} {$User.$address.lastname}<br />
                        {$User.$address.street}<br />
                    {/block}
                    {block name="document_index_address_additionalAddressLines"}
                        {if {config name=showAdditionAddressLine1}}
                            {$User.$address.additional_address_line1}<br />
                        {/if}
                        {if {config name=showAdditionAddressLine2}}
                            {$User.$address.additional_address_line2}<br />
                        {/if}
                    {/block}
                    {block name="document_index_address_cityZip"}
                        {if {config name=showZipBeforeCity}}
                            {$User.$address.zipcode} {$User.$address.city}<br />
                        {else}
                            {$User.$address.city} {$User.$address.zipcode}<br />
                        {/if}
                    {/block}
                    {block name="document_index_address_countryData"}
                        {if $User.$address.state.shortcode}{$User.$address.state.shortcode} - {/if}{$User.$address.country.countryen}<br />
                    {/block}<commit_msg>SW-20765 - add department to documents sender block fixes #1439<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; utf-8">
<meta name="author" content=""/>
<meta name="copyright" content="" />

<title></title>
<style type="text/css">
{block name="document_index_css"}
body {
    {$Containers.Body.style}
}

div#head_logo {
    {$Containers.Logo.style}
}

div#head_sender {
    {$Containers.Header_Recipient.style}
}

div#header {
    {$Containers.Header.style}
}

div#head_left {
    {$Containers.Header_Box_Left.style}
}

div#head_right {
    {$Containers.Header_Box_Right.style}
}

div#head_bottom {
    {$Containers.Header_Box_Bottom.style}
}

div#content {
    {$Containers.Content.style}
}

td {
    {$Containers.Td.style}
}

td.name {
    {$Containers.Td_Name.style}
}

td.line {
    {$Containers.Td_Line.style}
}

td.head  {
    {$Containers.Td_Head.style}
}

#footer {
    {$Containers.Footer.style}
}

#amount {
    {$Containers.Content_Amount.style}
}

#sender {
    {$Containers.Header_Sender.style}
}

#info {
    {$Containers.Content_Info.style}
}
{/block}
</style>
</head>

<body>
{block name="document_index_body"}
{foreach from=$Pages item=positions name="pagingLoop" key=page}

    {* @Deprecated: Wrong variable will be removed in next major release *}
    {$postions = $positions}

    <div id="head_logo">
        {$Containers.Logo.value}
    </div>
    <div id="header">
        <div id="head_left">
        {if $smarty.foreach.pagingLoop.first}
            {block name="document_index_selectAdress"}
                {assign var="address" value="billing"}
            {/block}
            <div id="head_sender">
                {block name="document_index_address"}
                    {block name="document_index_address_sender"}
                        <p class="sender">{$Containers.Header_Sender.value}</p>
                    {/block}
                    {block name="document_index_address_base"}
                        {if $User.$address.company}{$User.$address.company}<br />{/if}
                        {if $User.$address.department}{$User.$address.department}<br />{/if}
                        {$User.$address.salutation|salutation}
                        {if {config name="displayprofiletitle"}}
                            {$User.$address.title}<br/>
                        {/if}
                        {$User.$address.firstname} {$User.$address.lastname}<br />
                        {$User.$address.street}<br />
                    {/block}
                    {block name="document_index_address_additionalAddressLines"}
                        {if {config name=showAdditionAddressLine1}}
                            {$User.$address.additional_address_line1}<br />
                        {/if}
                        {if {config name=showAdditionAddressLine2}}
                            {$User.$address.additional_address_line2}<br />
                        {/if}
                    {/block}
                    {block name="document_index_address_cityZip"}
                        {if {config name=showZipBeforeCity}}
                            {$User.$address.zipcode} {$User.$address.city}<br />
                        {else}
                            {$User.$address.city} {$User.$address.zipcode}<br />
                        {/if}
                    {/block}
                    {block name="document_index_address_countryData"}
                        {if $User.$address.state.shortcode}{$User.$address.state.shortcode} - {/if}{$User.$address.country.countryen}<br />
                    {/block}
{'fraction_non_alphanumeric': 0.14650813174798413, 'fraction_numerical': 0.005603389367227006, 'mean_word_length': 1.933066132264529, 'pattern_counts': {'":': 0, '<': 60, '<?xml version=': 0, '>': 60, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4879424', 'n_tokens_mistral': 2292, 'n_tokens_neox': 2144, 'n_words': 312}