<?php

/* * *******************************************************************************
 * SugarCRM is a customer relationship management program developed by
 * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 *
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
 *
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 *
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
 * technical reasons, the Appropriate Legal Notices must display the words
 *
 * "Powered by SugarCRM".
 * ****************************************************************************** */

$viewdefs['EcmFkVatRegisters']['EditView'] = array(
    'templateMeta' => array(
        'form' => array(
            'buttons'=>array(
                array(
                    'customCode' => '
                    <input type="submit" name="save" class="button" value="Zapisz" onclick="{literal} if(confirm_fk_register()) { /*updatePositions(); */saveItems(true); this.form.action.value=\'Save\'; /*return false;*/ return true; } return false; {/literal}" />
                    ',
                ),
                'CANCEL',
            ),
            'enctype' => 'multipart/form-data',
            'hidden' => array(
                '<input type="hidden" name="id" id="id" value="{$fields.id.value}"/>',

            		'<input type="hidden" name="reg_acc" id="reg_acc" value="{$reg_acc}"/>',
            		'<input type="hidden" name="reg_acc_name" id="reg_acc_name" value="{$reg_acc_name}"/>',
            		'<input type="hidden" name="reg_acc_code" id="reg_acc_code" value="{$reg_acc_code}"/>',
            		'<input type="hidden" name="reg_acc_type" id="reg_acc_type" value="{$reg_acc_type}"/>',
            		'<input type="hidden" name="reg_acc_kind" id="reg_acc_kind" value="{$reg_acc_kind}"/>',

                // '<input type="hidden" name="zob_nal" id="zob_nal" value="1"/>',
                '<input type="hidden" name="sym_dok_use_type" id="sym_dok_use_type" value=""/>',
                '<input type="hidden" name="sym_dok_type" id="sym_dok_type" value=""/>',
                '<input type="hidden" name="ident_k_type" id="ident_k_type" value=""/>',
                '<input type="hidden" name="ident_k_filter" id="ident_k_filter" value=""/>',
                '<input type="hidden" name="acc_name" id="acc_name" value=""/>',
                '<input type="hidden" name="acc_type" id="acc_type" value=""/>',
                '<input type="hidden" name="acc_kind" id="acc_kind" value=""/>',
                '<input type="hidden" name="items_list" id="items_list" value="{$POSITION_LIST}"/>',
                // '<input type="hidden" name="type" id="type" value=""/>',
                '<input type="hidden" name="ecmfkvatkind_id_helper" id="ecmfkvatkind_id_helper" value="{$ECMFKVATKIND_ID_HELPER}"/>',
                '<input type="hidden" name="template_id" id="template_id" value=""/>',
                // '<input type="hidden" name="recipient_account" id="recipient_account" value=""/>',
                // '<input type="hidden" name="supplier_account" id="supplier_account" value=""/>',
                // '<input type="hidden" name="recipient_account_code" id="recipient_account_code" value=""/>',
                // '<input type="hidden" name="supplier_account_code" id="supplier_account_code" value=""/>',
                '<input type="hidden" name="recipient_account" id="recipient_account" value="{$recipient_account}"/>',
                '<input type="hidden" name="supplier_account" id="supplier_account" value="{$supplier_account}"/>',
                '<input type="hidden" name="recipient_account_code" id="recipient_account_code" value="{$recipient_account_code}"/>',
                '<input type="hidden" name="supplier_account_code" id="supplier_account_code" value="{$supplier_account_code}"/>',
            ),
        ),
        'maxColumns' => '2',
        'widths' => array(
            array(
                'label' => '10',
                'field' => '30',
            ),
            array(
                'label' => '10',
                'field' => '30',
            ),
        ),
        /*
        'javascript' =>
        '
        <script type="text/javascript" src="include/javascript/popup_parent_helper.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
        <script type="text/javascript" src="include/jsolait/init.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
        <script type="text/javascript" src="include/jsolait/lib/urllib.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
        <script type="text/javascript" src="include/javascript/jsclass_base.js"></script>
        <script type="text/javascript" src="include/javascript/jsclass_async.js"></script>
        <script type="text/javascript" src="include/JSON.js?s={$SUGAR_VERSION}"></script>
        <script type="text/javascript" src="modules/EcmFkVatRegisters/EcmFkVatRegisters.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
        <script type="text/javascript" src="modules/EcmFkVatRegisters/EcmFkVatRegistersEditView.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
        ',
        */
        'includes' => array(
            array(
                'file' => 'include/JSON.js',
            ),
            /*
            array(
                'file' => 'include/javascript/quicksearch.js',
            ),
            array(
                'file' => 'include/ECM/EcmPreviewPDF/EcmPreviewPDF.js',
            ),
            array(
                'file' => 'modules/EcmFkVatRegisters/AjaxSearch/AjaxSearch.js',
            ),
            array(
                'file' => 'modules/EcmFkVatRegisters/formloader.js',
            ),
            */
            array(
                'file' => 'modules/EcmFkVatRegisters/MyTable.js',
            ),
            array(
                'file' => 'modules/EcmFkVatRegisters/EcmFkVatRegisters.js',
            ),
            array(
                'file' => 'modules/EcmFkVatRegisters/EcmFkVatRegistersEditView.js',
            ),
            array(
                'file' => 'modules/EcmProducts/mintajax.js',
            ),
            array(
                'file' => 'modules/EcmProducts/helper.js',
            ),
        ),
    ),
    'panels' => array(
        'LBL_DETAILS' => array(
            array(
                'status',
                'deleted',
            ),
            array(
                'type',
                'ecmfkvatkind_id',
            ),
            array(
                // 'sym_dok',
                // 'sym_dok_symbol',
                array(
                // 'name' => 'sym_dok_symbol',
                'label' => 'LBL_SYM_DOK_SYMBOL',
                'customCode' => '
                    <input type="text" name="sym_dok_symbol" class="sqsEnabled" tabindex="104" id="sym_dok_symbol" size="" value="{$fields.sym_dok_symbol.value}" title="" autocomplete="off">
                    <input type="hidden" name="sym_dok_id" id="sym_dok_id" value="{$fields.sym_dok_id.value}">
                    <span class="id-ff multiple">

                        {literal}
                        <button type="button" name="btn_sym_dok_symbol" id="btn_sym_dok_symbol" tabindex="104" title="Wybierz [Alt+T]" accesskey="T" class="button firstChild" value="Wybierz" onclick="open_popup(
                            &quot;EcmSymbols&quot;,
                            600,
                            400,
                            &quot;&quot;,
                            true,
                            false,
                            {
                                &quot;call_back_function&quot;:&quot;set_return&quot;,
                                &quot;form_name&quot;:&quot;EditView&quot;,
                                &quot;field_to_name_array&quot;:
                                {
                                    &quot;id&quot;:&quot;sym_dok_id&quot;,
                                    &quot;symbol&quot;:&quot;sym_dok_symbol&quot;,
                                    &quot;type&quot;:&quot;sym_dok_type&quot;,
                                    &quot;use_type&quot;:&quot;sym_dok_use_type&quot;
                                }
                            },
                            &quot;single&quot;,
                            true
                        );">
                            <img src="themes/default/images/id-ff-select.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                        </button>
                        {/literal}

                        <button type="button" name="btn_clr_sym_dok_symbol" id="btn_clr_sym_dok_symbol" tabindex="104" title="Wyczyść[Alt+C]" accesskey="C" class="button lastChild" onclick="this.form.sym_dok_symbol.value = \'\'; this.form.sym_dok_id.value = \'\';" value="Wyczyść">
                            <img src="themes/default/images/id-ff-clear.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                        </button>

                    </span>

                    <script type="text/javascript">
                    <!--
                    if(typeof QSProcessedFieldsArray != \'undefined\')
                    QSProcessedFieldsArray["EditView_sym_dok_symbol"] = false;

                    enableQS(false);
                    -->
                    </script>
                    ',
                ),
                'nr_dok',
            ),
            array(
                // 'ident_k',
                // 'ident_k_name',
                array(
                    'label' => 'LBL_IDENT_K_NAME',
                    'customCode' =>
                    '
                    <input type="text" name="ident_k_name" class="sqsEnabled yui-ac-input" tabindex="107" id="ident_k_name" size="" value="{$fields.ident_k_name.value}" title="" autocomplete="off">
                    <input type="hidden" name="ident_k_id" id="ident_k_id" value="{$fields.ident_k_id.value}">

                    <span class="id-ff multiple">
                        {literal}
                        <button type="button" name="btn_ident_k_name" id="btn_ident_k_name" tabindex="107" title="Wybierz [Alt+T]" accesskey="T" class="button firstChild" value="Wybierz" onclick="open_popup(
                            &quot;EcmIdentifiers&quot;,
                            600,
                            400,
                            &quot;&quot;,
                            true,
                            false,
                            {
                                &quot;call_back_function&quot;:&quot;set_return&quot;,
                                &quot;form_name&quot;:&quot;EditView&quot;,
                                &quot;field_to_name_array&quot;:
                                {
                                    &quot;id&quot;:&quot;ident_k_id&quot;,
                                    &quot;name&quot;:&quot;ident_k_name&quot;,
                                    &quot;type&quot;:&quot;ident_k_type&quot;,
                                    &quot;filter&quot;:&quot;ident_k_filter&quot;,
                                    &quot;regex&quot;:&quot;ident_k_regex&quot;
                                }
                            },
                            &quot;single&quot;,
                            true
                        );">
                            <img src="themes/default/images/id-ff-select.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                        </button>

                        <button type="button" name="btn_clr_ident_k_name" id="btn_clr_ident_k_name" tabindex="107" title="Wyczyść[Alt+C]" accesskey="C" class="button lastChild" onclick="this.form.ident_k_name.value = \'\'; this.form.ident_k_id.value = \'\';" value="Wyczyść">
                            <img src="themes/default/images/id-ff-clear.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                        </button>
                        {/literal}
                    </span>
                    <script type="text/javascript">
                    <!--
                    if(typeof QSProcessedFieldsArray != \'undefined\')
                        QSProcessedFieldsArray["EditView_ident_k_name"] = false;


                    enableQS(false);
                    -->
                    </script>
                    ',
                ),
                'ident_k',
            ),
            array(
                'dat_dok',
                'dat_rej',
            ),
            array(
                'dat_zgo',
                // '',
            ),
            array(
                'zob_nal',
                '',
            ),
            array(
                // 'acc',
                // 'acc_code',
                array(
                    'label' => 'LBL_ACC_CODE',
                    'customCode' => '
                        <input type="hidden" name="acc_helper" id="acc_helper" value="{$fields.acc_helper.value}">
                        <input type="text" name="acc_code" class="sqsEnabled" tabindex="110" id="acc_code" size="" value="{$fields.acc_code.value}" title="" autocomplete="off">
                        <input type="hidden" name="acc" id="acc" value="{$fields.acc.value}">

                        <span class="id-ff multiple">

                            {literal}
                            <button type="button" name="btn_acc_code" id="btn_acc_code" tabindex="110" title="Wybierz [Alt+T]" accesskey="T" class="button firstChild" value="Wybierz" onclick="open_popup(
                                &quot;Accounts&quot;,
                                600,
                                400,
                                &quot;&quot;,
                                true,
                                false,
                                {
                                    &quot;call_back_function&quot;:&quot;set_return&quot;,
                                    &quot;form_name&quot;:&quot;EditView&quot;,
                                    &quot;field_to_name_array&quot;:
                                    {
                                        &quot;id&quot;:&quot;acc&quot;,
                                        &quot;type&quot;:&quot;acc_type&quot;,
                                        &quot;supplier_account&quot;:&quot;supplier_account&quot;,
                                        &quot;supplier_account_code&quot;:&quot;supplier_account_code&quot;,
                                        &quot;recipient_account&quot;:&quot;recipient_account&quot;,
                                        &quot;recipient_account_code&quot;:&quot;recipient_account_code&quot;,
                                        &quot;name&quot;:&quot;nickname&quot;,
                                        &quot;nip&quot;:&quot;nip&quot;
                                    }
                                },
                                &quot;single&quot;,
                                true,
                                false,
                                {\'type_advanced\': getAccType()}
                            );">
                                <img src="themes/default/images/id-ff-select.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                            </button>
                            <button type="button" name="btn_clr_acc_code" id="btn_clr_acc_code" tabindex="110" title="Wyczyść[Alt+C]" accesskey="C" class="button lastChild" onclick="this.form.acc_code.value = \'\'; this.form.acc.value = \'\';" value="Wyczyść">
                                <img src="themes/default/images/id-ff-clear.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                            </button>
                            {/literal}

                        </span>

                        <script type="text/javascript">
                        <!--
                        if(typeof QSProcessedFieldsArray != \'undefined\')
                            QSProcessedFieldsArray["EditView_acc_code"] = false;


                        enableQS(false);
                        -->
                        </script>
                    ',
                ),
                /*
                array(
                    'label' => 'LBL_ACC_CODE',
                    'customCode' => '
                        <input type="text" name="acc_code" class="sqsEnabled" tabindex="110" id="acc_code" size="" value="{$fields.acc_code.value}" title="" autocomplete="off">
                        <input type="hidden" name="acc" id="acc" value="{$fields.acc.value}">

                        <span class="id-ff multiple">

                            {literal}
                            <button type="button" name="btn_acc_code" id="btn_acc_code" tabindex="110" title="Wybierz [Alt+T]" accesskey="T" class="button firstChild" value="Wybierz" onclick="open_popup(
                                &quot;EcmBankAccounts&quot;,
                                600,
                                400,
                                &quot;&quot;,
                                true,
                                false,
                                {
                                    &quot;call_back_function&quot;:&quot;set_return&quot;,
                                    &quot;form_name&quot;:&quot;EditView&quot;,
                                    &quot;field_to_name_array&quot;:
                                    {
                                        &quot;id&quot;:&quot;acc&quot;,
                                        &quot;code&quot;:&quot;acc_code&quot;,
                                        &quot;name&quot;:&quot;nickname&quot;
                                    }
                                },
                                &quot;single&quot;,
                                true
                            );">
                                <img src="themes/default/images/id-ff-select.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                            </button>
                            <button type="button" name="btn_clr_acc_code" id="btn_clr_acc_code" tabindex="110" title="Wyczyść[Alt+C]" accesskey="C" class="button lastChild" onclick="this.form.acc_code.value = \'\'; this.form.acc.value = \'\';" value="Wyczyść">
                                <img src="themes/default/images/id-ff-clear.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                            </button>
                            {/literal}

                        </span>

                        <script type="text/javascript">
                        <!--
                        if(typeof QSProcessedFieldsArray != \'undefined\')
                            QSProcessedFieldsArray["EditView_acc_code"] = false;


                        enableQS(false);
                        -->
                        </script>
                    ',
                ),
                */
                // '',
                // array(
                    // 'label' => 'LBL_ACC_NAME_HELPER',
                    // 'customCode' => '
                        // <input name="acc_name_helper" id="acc_name_helper" type="text" readonly="readonly" value="" />
                    // ',
                // ),
            ),
            array(
                'nickname',
                'nip',
            ),
            array(
                'amount',
                // '',
            ),
            array(
                'description',
                // '',
            ),
            // array(
                // Rodzaj transakcji
            // ),
            array(
                // 'sym_par',
                // 'sym_par_symbol',
                array(
                'label' => 'LBL_SYM_PAR_SYMBOL',
                'customCode' =>
                '
                <input type="text" name="sym_par_symbol" class="sqsEnabled" tabindex="113" id="sym_par_symbol" size="" value="{$fields.sym_par_symbol.value}" title="" autocomplete="off">
                <input type="hidden" name="sym_par_id" id="sym_par_id" value="{$fields.sym_par_id.value}">
                <span class="id-ff multiple">
                    {literal}
                    <button type="button" name="btn_sym_par_symbol" id="btn_sym_par_symbol" tabindex="113" title="Wybierz [Alt+T]" accesskey="T" class="button firstChild" value="Wybierz" onclick="open_popup(
                        &quot;EcmSymbols&quot;,
                        600,
                        400,
                        &quot;&quot;,
                        true,
                        false,
                        {
                            &quot;call_back_function&quot;:&quot;set_return&quot;,
                            &quot;form_name&quot;:&quot;EditView&quot;,
                            &quot;field_to_name_array&quot;:
                            {
                                &quot;id&quot;:&quot;sym_par_id&quot;,
                                &quot;symbol&quot;:&quot;sym_par_symbol&quot;
                            }
                        },
                        &quot;single&quot;,
                        true,
                        false,
                        {\'use_type_advanced\': \'1\'}
                    );">
                        <img src="themes/default/images/id-ff-select.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                    </button>
                    {/literal}

                    <button type="button" name="btn_clr_sym_par_symbol" id="btn_clr_sym_par_symbol" tabindex="113" title="Wyczyść[Alt+C]" accesskey="C" class="button lastChild" onclick="this.form.sym_par_symbol.value = \'\'; this.form.sym_par_id.value = \'\';" value="Wyczyść">
                        <img src="themes/default/images/id-ff-clear.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                    </button>
                </span>

                <script type="text/javascript">
                <!--
                if(typeof QSProcessedFieldsArray != \'undefined\')
                QSProcessedFieldsArray["EditView_sym_par_symbol"] = false;
                enableQS(false);
                -->
                </script>
                ',
                ),
                'nr_par',
            ),
            array(
                'dat_zn',
                // '',
            ),
            array(
                // 'sp_zap',
                // 'sp_zap_name',
                array(
                'label' => 'LBL_SP_ZAP_NAME',
                'customCode' => '
                    <input type="text" name="sp_zap_name" class="sqsEnabled yui-ac-input" tabindex="118" id="sp_zap_name" size="" value="{$fields.sp_zap_name.value}" title="" autocomplete="off"><div id="EditView_sp_zap_name_results" class="yui-ac-container"><div class="yui-ac-content" style="display: none;"><div class="yui-ac-hd" style="display: none;"></div><div class="yui-ac-bd"><ul><li style="display: none;"></li><li style="display: none;"></li><li style="display: none;"></li><li style="display: none;"></li><li style="display: none;"></li><li style="display: none;"></li><li style="display: none;"></li><li style="display: none;"></li><li style="display: none;"></li><li style="display: none;"></li></ul></div><div class="yui-ac-ft" style="display: none;"></div></div></div>
                    <input type="hidden" name="sp_zap" id="sp_zap" value="{$fields.sp_zap.value}">

                    <span class="id-ff multiple">

                        {literal}
                        <button type="button" name="btn_sp_zap_name" id="btn_sp_zap_name" tabindex="118" title="Wybierz [Alt+T]" accesskey="T" class="button firstChild" value="Wybierz" onclick="open_popup(
                            &quot;EcmPaymentConditions&quot;,
                            600,
                            400,
                            &quot;&quot;,
                            true,
                            false,
                            {
                                &quot;call_back_function&quot;:&quot;set_return&quot;,
                                &quot;form_name&quot;:&quot;EditView&quot;,
                                &quot;field_to_name_array&quot;:
                                {
                                    &quot;id&quot;:&quot;sp_zap&quot;,
                                    &quot;name&quot;:&quot;sp_zap_name&quot;,
                                    &quot;days&quot;:&quot;il_dni&quot;
                                }
                            },
                            &quot;single&quot;,
                            true,
                            false,
                            {\'type_advanced\': \'1\'}
                        );">
                            <img src="themes/default/images/id-ff-select.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                        </button>
                        {/literal}

                        <button type="button" name="btn_clr_sp_zap_name" id="btn_clr_sp_zap_name" tabindex="118" title="Wyczyść[Alt+C]" accesskey="C" class="button lastChild" onclick="this.form.sp_zap_name.value = \'\'; this.form.sp_zap.value = \'\';" value="Wyczyść">
                            <img src="themes/default/images/id-ff-clear.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1">
                        </button>

                    </span>

                    <script type="text/javascript">
                    <!--
                    if(typeof QSProcessedFieldsArray != \'undefined\')
                        QSProcessedFieldsArray["EditView_sp_zap_name"] = false;

                    enableQS(false);
                    -->
                    </script>
                ',
                ),
                'il_dni',
            ),
            array(
                'dat_zap',
                // '',
            ),
            // array(
                // 'zob_nal',
                // 'year',
                // 'month',
                // 'sym_oper',
                // 'nr_sys',
                // 'poz_dok',
                // 'id_dok',
                // 'spar_tr',
                // 'dat_rej',
                // 'acc_wn',
                // 'acc_ma',
                // 'nickname',
                // 'nip',
                // 'reserve',
                // 'kwota_wal',
                // 'symbol_wal',
                // 'kurs_wal',
                // 'dat_zgo',
                // 'kod_czynsz',
                // 'ide_czynsz',
            // ),
        ),
        'LBL_ITEMS' => array(
            array(
                array(
                    'name' => 'position_list',
                    'allCols' => true,
                    'hideLabel' => true,
                    'customCode' =>
                    '
                    <link rel="stylesheet" type="text/css" href="modules/EcmFkVatTables/MyTable.css" />
                    <!--<link rel="stylesheet" type="text/css" href="modules/EcmFkVatTables/AjaxSearch/AjaxSearch.css" />-->

                    <input tabindex="100103" title="Przelicz" class="button" onclick="updatePositions();" type="button" name="update_button" id="update_button" value="Przelicz" />

                    <div style="width: 100%; border: 1px solid rgb(48, 192, 255); background-color: white; height: {$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px; overflow:auto;" id="itemsTableDIV">
                        <table class="positions" style="width: 100%;" id="itemsTable">
                            <thead id="head">
                                <tr id="tr">
                                    <td class="use_0 use_2 use_3" width="5%">
                                        {$MOD.LBL_EDITABLE_CODE}
                                    </td>
                                    <td class="use_1" width="5%">
                                        {$MOD.LBL_EDITABLE_POSITION}
                                    </td>
                                    <td class="use_0 use_2 use_3">
                                        {$MOD.LBL_EDITABLE_NAME}
                                    </td>
                                    <td class="use_0 use_1 use_2 use_3">
                                        {$MOD.LBL_EDITABLE_ACC_WN}
                                    </td>
                                    <td class="use_0 use_1 use_2 use_3">
                                        {$MOD.LBL_EDITABLE_ACC_MA}
                                    </td>
                                    <td class="use_0 use_1 use_2 use_3" width="20%">
                                        {$MOD.LBL_EDITABLE_AMOUNT}
                                    </td>
                                    <td class="use_1" width="10%">
                                        {$MOD.LBL_EDITABLE_AMOUNT_WN}
                                    </td>
                                    <td class="use_1" width="10%">
                                        {$MOD.LBL_EDITABLE_AMOUNT_MA}
                                    </td>
                                    <td class="use_0 use_2 use_3" width="10%">
                                        {$MOD.LBL_EDITABLE_SP_ZAP}<br/>{$MOD.LBL_EDITABLE_IL_DNI}
                                    </td>
                                    <td class="use_0 use_2 use_3" width="10%">
                                        {$MOD.LBL_EDITABLE_SYMB_WA}<br/>{$MOD.LBL_EDITABLE_KURS_WAL}
                                    </td>
                                    <td class="use_0 use_2 use_3" width="10%">
                                        {$MOD.LBL_EDITABLE_DAT_ZAP}
                                    </td>
                                    <!--
                                    <td class="use_0 use_2 use_3">
                                        {$MOD.LBL_EDITABLE_SYMBOL}
                                    </td>
                                    -->
                                    <!--
                                    <td class="use_0 use_2 use_3">
                                        {$MOD.LBL_EDITABLE_NR_DOK}
                                    </td>
                                    -->
                                    <td class="use_1">
                                        {$MOD.LBL_EDITABLE_DESCRIPTION}
                                    </td>
                                    <td class="use_0 use_1 use_2 use_3" width="5%">
                                        {$MOD.LBL_EDITABLE_OPTIONS}
                                    </td>
                                </tr>
                            </thead>
                            <tbody id="tbody">
                            </tbody>
                        </table>
                    </div>

                    <br/>

                    <table id="result_table_bo" cellpadding="0" cellspacing="0" style="clear: both; float: right; width:30%; height:100%; border: 1px solid rgb(48,192,255); margin-bottom: 15px;">
                        <tr id="bo_tr">
                            <td class="positionsLabel" style="border-top:0px; text-align: right;">{$MOD.LBL_START}</td>
                            <td class="positionsField" style="border-top:0px;">
                                <input type="text" readonly="readonly" style="border:0px;font-weight:900;width:100%;text-align:right;" name="start" id="start" value=\'{$fields.start.value}\'>
                            </td>
                        </tr>
                        <tr id="subtotal_tr">
                            <td class="positionsLabel" style="text-align: right;">{$MOD.LBL_SALES_WN}</td>
                            <td class="positionsField">
                                <input type="text" style="border:0px;font-weight:900;width:100%;text-align:right;" readonly="readonly" name="sales_wn" id="sales_wn" value=\'{$fields.sales_wn.value}\'>
                            </td>
                        </tr>
                        <tr id="subtotal_tr">
                            <td class="positionsLabel" style="text-align: right;">{$MOD.LBL_SALES_MA}</td>
                            <td class="positionsField">
                                <input type="text" style="border:0px;font-weight:900;width:100%;text-align:right;" readonly="readonly" name="sales_ma" id="sales_ma" value=\'{$fields.sales_ma.value}\'>
                            </td>
                        </tr>
                        <tr id="total_tr">
                            <td class="positionsLabel" style="text-align: right;">{$MOD.LBL_STOP}</td>
                            <td class="positionsField">
                                <input type="text" readonly="readonly" style="border:0px;font-weight:900;width:100%;text-align:right;" name="stop" id="stop" value=\'{$fields.stop.value}\'>
                            </td>
                        </tr>
                    </table>

                    <br/>

                    <br/>

                    <br/>

                    <table  id="result_table_amounts" cellpadding="0" cellspacing="0" style="clear: both; float: right; width:30%; height:100%; border: 1px solid rgb(48,192,255);">
                        <tr id="subtotal_tr">
                            <td class="positionsLabel" style="border-top:0px; text-align: right;">{$MOD.LBL_AMOUNT_WN}</td>
                            <td class="positionsField" style="border-top:0px;">
                                <input type="text" style="border:0px;font-weight:900;width:100%;text-align:right;" readonly="readonly" name="amount_wn" id="amount_wn" value=\'{$fields.amount_wn.value}\'>
                            </td>
                        </tr>
                        <tr id="total_tr">
                            <td class="positionsLabel" style="text-align: right;">{$MOD.LBL_AMOUNT_MA}</td>
                            <td class="positionsField">
                                <input type="text" readonly="readonly" style="border:0px;font-weight:900;width:100%;text-align:right;" name="amount_ma" id="amount_ma" value=\'{$fields.amount_ma.value}\'>
                            </td>
                        </tr>
                    </table>
                    ',
                ),
            ),
        ),
    ),
);