AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.80
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_apps/hering/ui/theme/lrsys/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/hering/ui/theme/lrsys/add_invoice_v2.tpl
{include file="sections/header.tpl"}
<div class="row" id="ibox_form">

    <form id="invform" method="post">
        <div class="col-md-12">
            <div class="alert alert-danger" id="emsg">
                <span id="emsgbody"></span>
            </div>
        </div>

{*<input type="text" class="form-control item_name" name="desc[]" value="">*}
        <div class="col-md-8">

            <div class="panel panel-default">
                <div class="panel-body">

                    <div class="table-responsive m-t">
                        <table class="table invoice-table" id="invoice_items">
                            <thead>
                            <tr>
                                <th class='middle' width="50px">{$_L['Item Code']}</th>
                                <th width="100px">{$_L['Image']}</th>
                                <th class='middle' width="">{$_L['Item Name']}</th>
                                <th class='middle' width="130px">{$_L['Qty']}</th>
                                <th class='middle' width="120px">{$_L['Price']}</th>
                                <th class='middle' width="160px">{$_L['Total']}</th>
                              <!--  <th width="10%">Tax</th>-->

                            </tr>
                            </thead>
                            <tbody>
                            <!-- lpillon 18_01_2017 -->
                            <!-- <tr> <td></td> <td><textarea class="form-control item_name" name="desc[]" rows="3"></textarea> </td> <td><input type="text" class="form-control qty" value="" name="qty[]"></td> <td><input type="text" class="form-control item_price" name="amount[]" value=""></td> <td class="ltotal"><input type="text" class="form-control lvtotal" readonly="" value=""></td> <td> <select class="form-control taxed" name="taxed[]"> <option value="Yes">{$_L['Yes']}</option> <option value="No" selected="">{$_L['No']}</option></select></td></tr> -->
                            </tbody>
                        </table>

                    </div>
                    <!-- /table-responsive -->
<!--                     <button type="button" class="btn btn-primary" id="blank-add"><i
                                class="fa fa-plus"></i> {$_L['Add blank Line']}</button> -->
                    <button type="button" class="btn btn-primary" id="item-add"><i
                                class="fa fa-search"></i> {$_L['Add Product OR Service']}</button>
                    <button type="button" class="btn btn-danger" id="item-remove"><i
                                class="fa fa-minus-circle"></i> {$_L['Delete']}</button>
                    <br>
                    <br>
                    <hr>
                        <textarea class="form-control" name="notes" id="notes" rows="3"
                                  placeholder="{$_L['Invoice Terms']}...">{$_c['invoice_terms']}</textarea>
                    <br>
                    {if $recurring}
                        <input type="hidden" id="is_recurring" value="yes">
                    {else}
                        <input type="hidden" id="is_recurring" value="no">
                    {/if}




                </div>
            </div>



        </div>

        <div class="col-md-4">

            <div class="panel panel-default">
                <div class="panel-body">

                    <div class="text-right">
                        <input type="hidden" id="_dec_point" name="_dec_point" value="{$_c['dec_point']}">
                        <input type="hidden" value="{$_c['thousands_sep']}" name="_mil_point" id="_mil_point">
                        <input type="hidden" value="{$_c['currency_code']}" name="_curr_code" id="_curr_code">
                        <button class="btn btn-primary" id="submit"><i class="fa fa-save"></i> {$_L['Save Invoice']}</button>
                        <button class="btn btn-info" id="save_n_close"><i class="fa fa-check"></i> {$_L['Save n Close']}</button>

                    </div>

                </div>
            </div>

            <div class="panel panel-default">
                <div class="panel-body">

                    <table class="table invoice-total">
                        <tbody>
                        <tr>
                            <td><strong>{$_L['Sub Total']} :</strong></td>
                            <td class="amount">{$_c['currency_code']}&nbsp;<span id="sub_total">0.00</span>
                            </td>
                        </tr>
                        <tr>
                            <td><strong>{$_L['Discount']} <span id="is_pt"></span> :</strong></td>
                            <td class="amount"><span id="coin_desc">{$_c['currency_code']}</span>&nbsp;<span id="discount_amount_total">0.00</span>
                            </td>
                        </tr>
                        <tr>
                            <td><strong>{$_L['TAX']} :</strong></td>
                            <td id="taxtotal" class="amount"><span id="tax_amount">0.00</span>&nbsp;%
                            </td>
                        </tr>
                        <tr>
                            <td><strong>{$_L['TOTAL']} :</strong></td>
                            <td class="amount">{$_c['currency_code']}&nbsp;<span id="total">0.00</span>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <input type="hidden" name="subTotal" id="subTotal" value="">
                    <input type="hidden" name="desTotal" id="desTotal" value="">
                    <input type="hidden" name="pctTotal" id="pctTotal" value="">
                    <input type="hidden" name="impTotal" id="impTotal" value="">
                    <input type="hidden" name="totTotal" id="totTotal" value="">

                </div>
            </div>

            <div class="panel panel-default">
                <div class="panel-body">

                    <div>



                        <div class="form-group">
                            <label for="cid">{$_L['Customer']}</label>

                            <select id="cid" name="cid" class="form-control">
                                <option value="">{$_L['Select Contact']}...</option>
                            </select>
                            <span class="help-block"><a href="#" id="contact_add">| {$_L['Or Add New Customer']}</a> </span>
                        </div>

                        <div class="form-group">
                            <label for="currency">{$_L['Currency']}</label>

                            <select id="currency" name="currency" class="form-control">

                                {foreach $currencies as $currency}
                                    <option value="{$currency['id']}"
                                            {if $_c['home_currency'] eq ($currency['cname'])}selected="selected" {/if}>{$currency['cname']}</option>
                                    {foreachelse}
                                    <option value="0">{$_c['home_currency']}</option>
                                {/foreach}

                            </select>

                        </div>

                        {$extra_fields}

                        <div class="form-group">
                            <label for="address">{$_L['Address']}</label>
                            <textarea id="address" readonly class="form-control" rows="5"></textarea>
                            <span id="spam-edit-client" class="hide help-block"><a href="#" id="contact_edit" data-id="">| {$_L['Client without address, click here to update the address']}</a> </span>
                 
                        </div>

                        <div class="form-group">
                            <label for="invoicenum">{$_L['Invoice Prefix']}</label>

                            <input type="text" class="form-control" id="invoicenum" name="invoicenum">
                        </div>

                        <div class="form-group">
                            <label for="cn">{$_L['Invoice']} #</label>

                            <input type="text" class="form-control" id="cn" name="cn">
                            <span class="help-block">{$_L['invoice_number_help']}</span>
                        </div>

                        {if $recurring}
                            <div class="form-group">
                                <label for="repeat">{$_L['Repeat Every']}</label>

                                <select class="form-control" name="repeat" id="repeat">
                                    <option value="week1">{$_L['Week']}</option>
                                    <option value="weeks2">{$_L['Weeks_2']}</option>
                                    <option value="month1" selected>{$_L['Month']}</option>
                                    <option value="months2">{$_L['Months_2']}</option>
                                    <option value="months3">{$_L['Months_3']}</option>
                                    <option value="months6">{$_L['Months_6']}</option>
                                    <option value="year1">{$_L['Year']}</option>
                                    <option value="years2">{$_L['Years_2']}</option>
                                    <option value="years3">{$_L['Years_3']}</option>

                                </select>
                            </div>
                        {else}
                            <input type="hidden" name="repeat" id="repeat" value="0">
                        {/if}

                        <div class="form-group">
                            <label for="idate">{$_L['Invoice Date']}</label>

                            <input type="text" class="form-control" id="idate" name="idate" datepicker
                                   data-date-format="{$_c['formatDate']}" data-auto-close="true"
                                 value="{date( $_c['df'], strtotime($idate))}">
                        </div>
                        <div class="form-group">
                            <label for="duedate">{$_L['Payment Terms']}</label>

                            <select class="form-control" name="duedate" id="duedate">
                                <option value="due_on_receipt" selected>{$_L['Due On Receipt']}</option>
                                <option value="days3">{$_L['days_3']}</option>
                                <option value="days5">{$_L['days_5']}</option>
                                <option value="days7">{$_L['days_7']}</option>
                                <option value="days10">{$_L['days_10']}</option>
                                <option value="days15">{$_L['days_15']}</option>
                                <option value="days30">{$_L['days_30']}</option>
                                <option value="days45">{$_L['days_45']}</option>
                                <option value="days60">{$_L['days_60']}</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="tid">{$_L['Sales TAX']}</label>
                            <select id="tid" name="tid" class="form-control">
                                <option value="">{$_L['None']}</option>
                                {foreach $t as $ts}
                                    <option value="{$ts['id']}">{$ts['name']}
                                        ({{number_format($ts['rate'],2,$_c['dec_point'],$_c['thousands_sep'])}}
                                        %)
                                    </option>
                                {/foreach}
                            </select>
                            {foreach $t as $ts}
                                <input type="hidden" value="{$ts['rate']}" id="tx_{$ts['id']}">
                            {/foreach}
                            <input type="hidden" id="stax" name="stax" value="0.00">
                            <input type="hidden" id="discount_amount" name="discount_amount" value="">
                            <input type="hidden" id="discount_type" name="discount_type" value="p">
                            <input type="hidden" id="taxed_type" name="taxed_type" value="individual">
                        </div>

                        <!--lpillon 18_01_2017 -->
                        <div class="form-group">
                            <label for="mtdopgto">{$_L['Payment Method Invoice']}</label>
                            <select id="mtdopgto" name="mtdopgto" class="form-control">
                                <option value="0">{$_L['None']}</option>
								{foreach $payment_methods as $pmethod}
                                    <option value="{$pmethod['id']}">{$pmethod['name']}</option>
								{/foreach}
                            </select>
                        </div>
                      

						{* Select de contas serĂ¡ exibido quando a forma de pagamento selecionada for boleto *}
                        <div class="form-group collapse">
                            <label for="account"
                                   class="control-label">{$_L['Choose an Account']}</label>
                            <select class="form-control" name="account" id="account">
                                <option value="" selected>{$_L['Select An Account']}</option>
                                {foreach $accounts as $acc}
                                    <option value="{$acc['id']}" {if $acc['field'] == 'default' && $acc['value'] == true}selected="selected"{/if}>
                                        {$acc['account']} - {$acc['description']}
                                    </option>
								{/foreach}
                            </select>
                        </div>

                        <!--lpillon 18_01_2017 -->
                        <div class="form-group">
                            <label for="cdtpgto">{$_L['Payment Condition Invoice']}</label>
                            <select id="cdtpgto" name="cdtpgto" class="form-control">
                                <option value="0">{$_L['None']}</option>
                                <option value="1" selected="">{$_L['Payment Condition Invoice0']}</option>
                                <option value="2">{$_L['Payment Condition Invoice1']}</option>
                                <option value="3">{$_L['Payment Condition Invoice2']}</option>
                            </select>
                        </div>
                        <div class="form-group">
                              <label >{$_L['Freight by account']}</label>
                              <select id="freight_by" name="freight_by" class="form-control">
                                  <option value="Sender">{$_L['Sender']}</option>
                                  <option value="Addressee">{$_L['Addressee']}</option>
                                  <option value="The 3rd">{$_L['The 3rd']}</option>
                                   <option value="Free shipping" selected>{$_L['Free shipping']}</option>
                              </select>
                          </div>
                        <div class=" form-group freight">
                            <label class="control-label">{$_L['Freight']}</label>                                   
                            <input  type="text" id="freight" name="freight" class="form-control amount" autocomplete="off" data-a-sign="{$_c['currency_code']} "  data-a-dec="{$_c['dec_point']}" data-a-sep="{$_c['thousands_sep']}" data-d-group="2">
                        </div>
                        <div class="form-group">
                            <label for="add_discount">
                                <a href="#" id="add_discount" class="btn btn-info btn-xs" style="margin-top: 5px;"><i class="fa fa-minus-circle"></i> {$_L['Set Discount']}</a>
                            </label>
                            <br>
                        </div>

                    </div>

                </div>
            </div>


        </div>
    </form>


</div>

{* lan variables *}

<input type="hidden" id="_lan_set_discount" value="{$_L['Set Discount']}">
<input type="hidden" id="_lan_discount" value="{$_L['Discount']}">
<input type="hidden" id="_lan_discount_type" value="{$_L['Discount Type']}">
<input type="hidden" id="_lan_percentage" value="{$_L['Percentage']}">
<input type="hidden" id="_lan_fixed_amount" value="{$_L['Fixed Amount']}">
<input type="hidden" id="_lan_btn_save" value="{$_L['Save']}">
<input type="hidden" id="_lan_select_contact" value="{$_L['Select Contact']}">
<input type="hidden" id="_lan_no_results_found" value="{$_L['No results found']}">
<input type="hidden" id="select_state" value="{$_L['Select State']}">
<input type="hidden" id="select_city" value="{$_L['Select City']}">
{include file="sections/footer.tpl"}

Anon7 - 2022
AnonSec Team