<?php /* Smarty version Smarty-3.1.11, created on 2025-02-11 21:01:51
         compiled from "../views/default/supplierPayedDeptview/editprint.html" */ ?>
<?php /*%%SmartyHeaderCode:214054598967ab9e9fbc2279-93149905%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1814d9881656620a360cfd4eee11935fb1857098' => 
    array (
      0 => '../views/default/supplierPayedDeptview/editprint.html',
      1 => 1672089200,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '214054598967ab9e9fbc2279-93149905',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'suppliersData' => 0,
    'data' => 0,
    'supplierdebtchangeData' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67ab9e9fca8594_05092772',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67ab9e9fca8594_05092772')) {function content_67ab9e9fca8594_05092772($_smarty_tpl) {?>
<style>
    
@media print{
    .panel-default{
        border-bottom: none !important;
    }
    label {
        padding-top: 20px;
    }
    .panel-title{
        margin-bottom: 10px !important;
    }
}
  
</style>
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">خصائص عامة</a></li>
            <li><a href="supplierPayedDeptController.php?do=show">الموردين</a></li>
            <li class="active">سداد ديون مورد</li>
        </ol>
        <div class="panel panel-default panel-m">
            <div class="panel-heading">
                <h3 class="panel-title">تفاصيل سداد ديون مورد</h3>
            </div>
            <div class="panel-body">
                <form class="form-horizontal" role="form" action="savedailyController.php" method="post">
                    <div class="form-group">
                        <label for="partnerid" class="col-lg-2 control-label">المورد</label>
                        <div class="col-lg-4">
                            <p class="form-control-static"> <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['suppliersData']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                                <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['data']->value->supplierid;?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['supplierdebtchangeData']->value->supplierid;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp1==$_tmp2){?> <?php echo $_smarty_tpl->tpl_vars['data']->value->suppliername;?>
 <?php }?>
                                <?php } ?> </p>
                        </div>
                    </div>

                    <!-- =================================================   -->

                    <div class="form-group">
                        <label for="payedDept" class="col-lg-2 control-label">اسم العملية</label>
                        <div class="col-lg-4">
                            <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['supplierdebtchangeData']->value->processname;?>
</p>
                        </div>
                    </div>

                    <!-- =================================================   -->

                    <div class="form-group">
                        <label for="currentDate" class="col-lg-2 control-label">تاريخ العملية</label>
                        <div class="col-lg-4">
                            <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['supplierdebtchangeData']->value->supplierdebtchangedate;?>
</p>
                        </div>
                    </div>

                    <!-- =================================================   -->

                    <div class="form-group">
                        <label for="payedDept" class="col-lg-2 control-label">الدين قبل</label>
                        <div class="col-lg-4">
                            <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['supplierdebtchangeData']->value->supplierdebtchangebefore;?>
</p>
                        </div>
                    </div>

                    <!-- =================================================   -->

                    <div class="form-group">
                        <label for="payedDept" class="col-lg-2 control-label">المبلغ</label>
                        <div class="col-lg-4">
                            <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['supplierdebtchangeData']->value->supplierdebtchangeamount;?>
</p>
                        </div>
                    </div>

                    <!-- =================================================   -->

                    <div class="form-group">
                        <label for="payedDept" class="col-lg-2 control-label">الدين بعد</label>
                        <div class="col-lg-4">
                            <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['supplierdebtchangeData']->value->supplierdebtchangeafter;?>
</p>
                        </div>
                    </div>

                    <!-- =================================================   -->

                    <div class="form-group noprint">
                        <div class="col-lg-offset-2 col-lg-4">
                            <button type="submit"  class="btn btn-primary pull-left noprint"> رجوع</button>
                            <button type="button" onClick="print_Custom('mycustomheader');" class="btn btn-success pull-right noprint">طباعة</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<?php }} ?>