<style type="text/css">
    .chosen-container a.chosen-single{line-height: 24px !important;}
</style>

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2><?= print_lang($app_lang,'new_lot_purchase'); ?></h2>
        <ol class="breadcrumb">
            <li>
                <a class="url-elem" href="<?php echo url('/dashboard'); ?>"><?= print_lang($app_lang,'home'); ?></a>
            </li>
            <li>
                <a class="url-elem" href="<?php echo url('/lot-purchase'); ?>"><?= print_lang($app_lang,'lot_purchase'); ?></a>
            </li>
            <li class="active">
                <strong><?= print_lang($app_lang,'new_lot_purchase'); ?></strong>
            </li>
        </ol>
    </div>
    <div class="col-lg-2">
    </div>
</div>


<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox-title">
        <h5><?= print_lang($app_lang,'fields_with'); ?> <strong class="text-danger">*</strong> <?= print_lang($app_lang,'are_mandatory'); ?></h5>
        <div style="display: inline-block; margin-left: 150px;" id="lot-purchase-type-btns">
            <label class="checkbox-inline i-checks">
                <input checked="checked" type="radio" name="purchase_type" value="iran_to_afghanistan" id="lot-purchase-type"> &nbsp;&nbsp; <?= print_lang($app_lang,'iran_to_afghanistan'); ?>
            </label>
            <label class="checkbox-inline i-checks" style="margin-left: 30px;">
                <input type="radio" name="purchase_type" value="iran_to_border" id="lot-purchase-type"> &nbsp;&nbsp; <?= print_lang($app_lang,'iran_to_border'); ?>
            </label>
        </div>
    </div>
    <div class="ibox-content">
        <!-- spinner -->
        <div class="sk-spinner sk-spinner-three-bounce">
            <div class="sk-bounce1"></div>
            <div class="sk-bounce2"></div>
            <div class="sk-bounce3"></div>
        </div>
        <!-- spinner -->
        
        <div class="row">
            <div class="col-sm-12 b-r">
                <form role="form" id="temp-lot-purchase-form">

                    <div class="row fixed-fields-row" style="margin-bottom: 5px;">
                        <div class="col-md-5">
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label><?= print_lang($app_lang,'currency'); ?> <strong class="text-danger">*</strong></label>
                                        <select class="form-control chosen-select" name="temp_currency">
                                            <option disabled="" selected="">-- <?= print_lang($app_lang,'currency'); ?> --</option>
                                            <?php foreach($currencies as $row){ ?>
                                                <option value="<?= $row['uid']; ?>" data-usd-equalance="<?= $row['usd_equalance']; ?>"><?= $row['name']; ?> (<?= $row['symbol']; ?>)</option>
                                            <?php } ?>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label><?= print_lang($app_lang,'supplier'); ?> <strong class="text-danger">*</strong></label>
                                        <select class="form-control chosen-select temp_supplier_edit" name="temp_supplier">
                                            <option disabled="" selected="">-- <?= print_lang($app_lang,'supplier'); ?> --</option>
                                            <?php foreach($suppliers as $row){ ?>
                                                <option value="<?= $row['uid']; ?>"><?= $row['name']; ?></option>
                                            <?php } ?>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-7">
                            <div class="row">
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label><?= print_lang($app_lang,'date'); ?></label>
                                        <input type="date" class="form-control" name="temp_date" placeholder="<?= print_lang($app_lang,'date'); ?>">
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label><?= print_lang($app_lang,'receipt_num'); ?> <strong class="text-danger">*</strong></label>
                                        <input type="text" class="form-control" name="temp_receipt" value="<?= $receipt_num; ?>" placeholder="<?= print_lang($app_lang,'receipt_num'); ?>">
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-group">
                                        <label><?= print_lang($app_lang,'email_attachment'); ?></label>
                                        <button type="button" class="btn btn-info" id="email-attachment-file-trigger">Attach ScreenShot</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>            
                    <!-- STYLING -->
                    <div class="row">
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'fuel_type'); ?></label>
                                <input type="text" class="form-control" name="temp_fuel_type" placeholder="<?= print_lang($app_lang,'fuel_type'); ?>">
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'driver'); ?></label>
                                <input type="text" class="form-control" name="temp_driver" placeholder="<?= print_lang($app_lang,'driver'); ?>">
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'mobile'); ?></label>
                                <input type="text" class="form-control" name="temp_mobile" placeholder="<?= print_lang($app_lang,'mobile'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'plate_num'); ?></label>
                                <input type="text" class="form-control" name="temp_plate_num" placeholder="<?= print_lang($app_lang,'plate_num'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'cmr'); ?></label>
                                <input type="text" class="form-control" name="temp_cmr" placeholder="<?= print_lang($app_lang,'cmr'); ?>">
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'weight'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control clratc" name="temp_weight" placeholder="<?= print_lang($app_lang,'weight'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'cost'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control clratc" name="temp_cost" placeholder="<?= print_lang($app_lang,'cost'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'real_cost'); ?></label>
                                <input type="text" class="form-control pointer-none" name="temp_real_cost" placeholder="<?= print_lang($app_lang,'real_cost'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'total_cost'); ?></label>
                                <input type="text" class="form-control pointer-none" name="temp_total_cost" placeholder="<?= print_lang($app_lang,'total_cost'); ?>">
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'transit'); ?></label>
                                <select class="form-control chosen-select" name="temp_transit_account">
                                    <option disabled="" selected="">-- <?= print_lang($app_lang,'transit'); ?> --</option>
                                    <?php foreach($transits as $row){ ?>
                                        <option value="<?= $row['uid']; ?>"><?= $row['name']; ?></option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'rent_currency'); ?></label>
                                <select class="form-control chosen-select" name="temp_rent_currency">
                                    <option disabled="" selected="">-- <?= print_lang($app_lang,'rent_currency'); ?> --</option>
                                    <?php foreach($currencies as $row){ ?>
                                        <option value="<?= $row['uid']; ?>" data-usd-equalance="<?= $row['usd_equalance']; ?>"><?= $row['name']; ?> (<?= $row['symbol']; ?>)</option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'rent'); ?></label>
                                <input type="text" class="form-control clratc" name="temp_rent" placeholder="<?= print_lang($app_lang,'rent'); ?>">
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group non_iran_to_border">
                                <label><?= print_lang($app_lang,'expense'); ?></label>
                                <select class="form-control chosen-select" name="temp_expense_account">
                                    <option disabled="" selected="">-- <?= print_lang($app_lang,'expense'); ?> --</option>
                                    <?php foreach($expenses as $row){ ?>
                                        <option value="<?= $row['uid']; ?>"><?= $row['name']; ?></option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group non_iran_to_border">
                                <label><?= print_lang($app_lang,'expenses_currency'); ?></label>
                                <select class="form-control chosen-select" name="temp_expenses_currency">
                                    <option disabled="" selected="">-- <?= print_lang($app_lang,'expenses_currency'); ?> --</option>
                                    <?php foreach($currencies as $row){ ?>
                                        <option value="<?= $row['uid']; ?>" data-usd-equalance="<?= $row['usd_equalance']; ?>"><?= $row['name']; ?> (<?= $row['symbol']; ?>)</option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group non_iran_to_border">
                                <label><?= print_lang($app_lang,'expenses'); ?></label>
                                <input type="text" class="form-control clratc" name="temp_expenses" placeholder="<?= print_lang($app_lang,'expenses'); ?>">
                            </div>
                        </div>
                    </div>
                    <!-- STYLING -->

                    <div class="row extra-mar-botm">
                        <div class="col-md-12 text-right">
                            <button style="width: 100%;" class="btn btn-w-m btn-primary" type="submit"><?= print_lang($app_lang,'add_to_lot_purchase'); ?></button>
                        </div>
                    </div>

                </form>
            </div>
        </div>

        <form role="form" id="lot-purchase-form" action="<?php echo url('/lot-purchase/save'); ?>" enctype="multipart/form-data">
            
            <input type="file" id="email-attachment-file-iput" name="email_attachment" style="display: none;">
            <input type="hidden" name="pending_weight" value="<?= $pending_weight; ?>">
            <input type="hidden" name="lot_purchase_type">

            <div class="row" style="margin-top: 10px;">
                <div class="col-md-12">
                    <div class="table-responsive">
                        <table class="table table-bordered table-hover" id="lot-purchase-table">
                            <thead>
                                <tr>
                                    <th class="text-center"><?= print_lang($app_lang,'sr_#'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'fuel_type'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'driver'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'cmr'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'plate_num'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'weight'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'weight_plus'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'weight_minus'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'weight_lose'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'gross_weight'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'cost'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'rent'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'expenses'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'real_cost'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'total_cost'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'action'); ?></th>
                                </tr>
                            </thead>
                            <tbody id="lot-purchase-table-body">
                                
                            </tbody>
                        </table>    
                    </div>
                </div>

                <div class="col-md-12 purchases-totals-col">
                    <div class="row">
                        <div class="col-md-3 purchase-total-cel lot-purchase-total-weight-row">
                            <strong><?= print_lang($app_lang,'total_weight'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_weight">
                        </div>
                        <div class="col-md-3 purchase-total-cel lot-purchase-total-cost-row">
                            <strong><?= print_lang($app_lang,'total_cost'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_tcost">
                        </div>
                        <div class="col-md-3 purchase-total-cel lot-purchase-total-rent-row">
                            <strong><?= print_lang($app_lang,'total_rent'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_rent">
                        </div>
                        <div class="col-md-3 purchase-total-cel lot-purchase-total-expenses-row">
                            <strong><?= print_lang($app_lang,'total_expenses'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_expenses">
                        </div>
                    </div>
                    <div class="row" style="margin-top: 20px;">
                        <div class="col-md-3 purchase-total-cel lot-purchase-total-gross-weight-row">
                            <strong><?= print_lang($app_lang,'total_gross_weight'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_gross_weight">
                        </div>
                        <div class="col-md-3 purchase-total-cel lot-purchase-total-real-cost-row">
                            <strong><?= print_lang($app_lang,'total_real_cost'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_real_cost">
                        </div>
                        <div class="col-md-3 iran_to_border display-none">
                            <strong><?= print_lang($app_lang,'pending_weight'); ?>: </strong>
                            <span class="cals-span" id="pending-weight-span-elem"><?= $pending_weight; ?></span>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12" style="margin-top: 20px;">
                            <input type="submit" style="width: 100%;" class="non_iran_to_border btn btn-primary" value="<?= print_lang($app_lang,'save_print'); ?>">
                            <!-- <p class="iran_to_border display-none"><strong><?= print_lang($app_lang,'pending_weight'); ?></strong>: <span id="pending-weight-span-elem"><?= $pending_weight; ?></span></p> -->
                        </div>
                    </div>
                </div>
                <div id="division-form-append-area" style="display: none !important; opacity: 0; pointer-events: none;"></div>

            </div>
        </form>

        <h2 class="iran_to_border display-none text-center" style="margin: 50px 0;"><?= print_lang($app_lang,'divide_fuels_into_afghanistan_tankers'); ?></h2>

        <div class="row iran_to_border display-none" style="margin-top: 50px;">
            <div class="col-sm-12 b-r">
                <form role="form" id="temp-lot-purchase-form-division">

                    <div class="row" style="margin-bottom: 5px;">
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'transit_account'); ?></label>
                                <select class="form-control chosen-select" name="div_transit_account">
                                    <option disabled="" selected="">-- <?= print_lang($app_lang,'transit_account'); ?> --</option>
                                    <?php foreach($transits as $row){ ?>
                                        <option value="<?= $row['uid']; ?>"><?= $row['name']; ?></option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'transit_currency'); ?></label>
                                <select class="form-control chosen-select" name="div_rent_currency">
                                    <option disabled="" selected="">-- <?= print_lang($app_lang,'transit_currency'); ?> --</option>
                                    <?php foreach($currencies as $row){ ?>
                                        <option value="<?= $row['uid']; ?>" data-usd-equalance="<?= $row['usd_equalance']; ?>"><?= $row['name']; ?> (<?= $row['symbol']; ?>)</option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'transit_amount'); ?></label>
                                <input type="text" class="form-control clratc-div" name="div_rent" placeholder="<?= print_lang($app_lang,'transit_amount'); ?>">
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'expense_account'); ?></label>
                                <select class="form-control chosen-select" name="div_expense_account">
                                    <option disabled="" selected="">-- <?= print_lang($app_lang,'expense_account'); ?> --</option>
                                    <?php foreach($expenses as $row){ ?>
                                        <option value="<?= $row['uid']; ?>"><?= $row['name']; ?></option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'expenses_currency'); ?></label>
                                <select class="form-control chosen-select" name="div_expenses_currency">
                                    <option disabled="" selected="">-- <?= print_lang($app_lang,'expenses_currency'); ?> --</option>
                                    <?php foreach($currencies as $row){ ?>
                                        <option value="<?= $row['uid']; ?>" data-usd-equalance="<?= $row['usd_equalance']; ?>"><?= $row['name']; ?> (<?= $row['symbol']; ?>)</option>
                                    <?php } ?>
                                </select>
                            </div>
                        </div>
                        <div class="col-md-2">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'expenses'); ?></label>
                                <input type="text" class="form-control clratc-div" name="div_expenses" placeholder="<?= print_lang($app_lang,'expenses'); ?>">
                            </div>
                        </div>
                    </div>

                    <div class="row" style="margin-bottom: 5px;">
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'cmr'); ?></label>
                                <input type="text" class="form-control" name="div_cmr" placeholder="<?= print_lang($app_lang,'cmr'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'driver'); ?></label>
                                <input type="text" class="form-control" name="div_driver" placeholder="<?= print_lang($app_lang,'driver'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'mobile'); ?></label>
                                <input type="text" class="form-control" name="div_mobile" placeholder="<?= print_lang($app_lang,'mobile'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'plate_num'); ?></label>
                                <input type="text" class="form-control" name="div_plate_num" placeholder="<?= print_lang($app_lang,'plate_num'); ?>">
                            </div>
                        </div>
                    </div>

                    <div class="row" style="margin-bottom: 5px;">
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'weight'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control clratc-div" name="div_weight" placeholder="<?= print_lang($app_lang,'weight'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'cost'); ?> <strong class="text-danger">*</strong></label>
                                <input type="text" class="form-control pointer-none" name="div_cost" placeholder="<?= print_lang($app_lang,'cost'); ?>" readonly>
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'real_cost'); ?></label>
                                <input type="text" class="form-control pointer-none" name="div_real_cost" placeholder="<?= print_lang($app_lang,'real_cost'); ?>">
                            </div>
                        </div>
                        <div class="col-md-3">
                            <div class="form-group">
                                <label><?= print_lang($app_lang,'total_real_cost'); ?></label>
                                <input type="text" class="form-control pointer-none" name="div_total_cost" placeholder="<?= print_lang($app_lang,'total_cost'); ?>">
                            </div>
                        </div>
                    </div>

                    <div class="row extra-mar-botm">
                        <div class="col-md-12 text-right">
                            <button style="width: 100%;" class="btn btn-w-m btn-primary" type="submit"><?= print_lang($app_lang,'add_to_tankers'); ?></button>
                        </div>
                    </div>

                </form>
            </div>
        </div>

        <form class="iran_to_border display-none" role="form" id="lot-purchase-division-form" enctype="multipart/form-data">
            <div class="row" style="margin-top: 10px;">
                <div class="col-md-12">
                    <div class="table-responsive">
                        <table class="table table-bordered table-hover" id="lot-fuel-division-table">
                            <thead>
                                <tr>
                                    <th class="text-center"><?= print_lang($app_lang,'sr_#'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'driver'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'cmr'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'plate_num'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'weight'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'weight_plus'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'weight_minus'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'weight_lose'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'gross_weight'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'cost'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'transit'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'expenses'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'real_cost'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'total_real_cost'); ?></th>
                                    <th class="text-center"><?= print_lang($app_lang,'action'); ?></th>
                                </tr>
                            </thead>
                            <tbody id="lot-purchase-division-table-body">
                                
                            </tbody>
                        </table>    
                    </div>
                </div>

                <div class="col-md-12 purchases-totals-col">
                    <div class="row">
                        <div class="col-md-3 purchase-total-cel lot-purchase-division-total-weight-row">
                            <strong><?= print_lang($app_lang,'total_weight'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_division_weight">
                        </div>
                        <div class="col-md-3 purchase-total-cel lot-purchase-division-total-cost-row">
                            <strong><?= print_lang($app_lang,'total_cost'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_division_tcost">
                        </div>
                        <div class="col-md-3 purchase-total-cel lot-purchase-division-total-rent-row">
                            <strong><?= print_lang($app_lang,'total_rent'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_division_rent">
                        </div>
                        <div class="col-md-3 purchase-total-cel lot-purchase-division-total-expenses-row">
                            <strong><?= print_lang($app_lang,'total_expenses'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_division_expenses">
                        </div>
                    </div>
                    <div class="row" style="margin-top: 20px;">
                        <div class="col-md-3 purchase-total-cel lot-purchase-division-total-gross-weight-row">
                            <strong><?= print_lang($app_lang,'total_gross_weight'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_division_gross_weight">
                        </div>
                        <div class="col-md-3 purchase-total-cel lot-purchase-division-total-real-cost-row">
                            <strong><?= print_lang($app_lang,'total_real_cost'); ?>: </strong>
                            <span class="cals-span"></span>
                            <input class="cals-input" type="hidden" name="total_division_real_cost">
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12" style="margin-top: 20px;">
                            <input type="button" id="iran-to-border-submit" style="width: 100%;" class="btn btn-primary" value="<?= print_lang($app_lang,'save_print'); ?>">
                        </div>
                    </div>
                </div>

            </div>
        </form>

    </div>

</div>