<?php /* Smarty version Smarty-3.1.11, created on 2025-02-10 22:28:36
         compiled from "../views/default/clientPayedDeptview/editprint.html" */ ?>
<?php /*%%SmartyHeaderCode:78914527267aa61749b0d77-53873006%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '89ec7eac9e8bcd18b212c545e2cf60ce8733d87e' => 
    array (
      0 => '../views/default/clientPayedDeptview/editprint.html',
      1 => 1672089198,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '78914527267aa61749b0d77-53873006',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'path' => 0,
    'Programsettingdata' => 0,
    'programsettingsdata' => 0,
    'clientsData' => 0,
    'data' => 0,
    'clientdebtchangeData' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67aa6174a25289_80828357',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67aa6174a25289_80828357')) {function content_67aa6174a25289_80828357($_smarty_tpl) {?><script>
    $(document).ready(function (e) {
        print_Custom('mycustomheader');
    });
</script>

<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">خصائص عامة</a></li>
            <li><a href="clientPayedDeptController.php?do=show">العملاء</a></li>
            <li class="active">ايصال سداد عميل</li>
        </ol>


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

                <form class="form-horizontal border" role="form" action="clientPayedDeptController.php?do=show" method="post">

                    <h3 class="panel-heading" style="margin-bottom: 10px!important">تفاصيل ايصال سداد عميل</h3>

                    <!-- <div width="100%" style="text-align: center;">
                        <img src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/images/upload/<?php echo $_smarty_tpl->tpl_vars['Programsettingdata']->value->logo;?>
" width="20%" height="100px">
                    </div> -->
                    <!-- <div  class=" container  visible-print"  style="width: 100%!important;">
                        <div id="div1" >
                            <br>
                            <?php echo $_smarty_tpl->tpl_vars['programsettingsdata']->value->companyname;?>

                        </div>
                        <div id="div2">
                            <img src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/images/upload/<?php echo $_smarty_tpl->tpl_vars['programsettingsdata']->value->logo;?>
" width="80px" height="80px">
                        </div>
        
                        <div id="div3">
                            <br>
                            <?php echo $_smarty_tpl->tpl_vars['programsettingsdata']->value->phone;?>

                        </div>
                    </div> -->

                    <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['clientsData']->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->clientid;?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['clientdebtchangeData']->value->clientid;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp1==$_tmp2){?> <?php echo $_smarty_tpl->tpl_vars['data']->value->clientname;?>
 <?php }?>

                                <?php } ?>

                            </p>

                        </div>
                    </div>

                    <!-- =================================================   -->
                    <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['clientdebtchangeData']->value->clientdebtchangemodelid;?>
<?php $_tmp3=ob_get_clean();?><?php if ($_tmp3>0){?>
                    <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['clientdebtchangeData']->value->clientdebtchangemodelid;?>
</p>


                        </div>
                    </div>

                    <?php }?>



                    <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['clientdebtchangeData']->value->clientdebtchangedate;?>
</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['clientdebtchangeData']->value->clientdebtchangeamount;?>
</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['clientdebtchangeData']->value->clientdebtchangebefore;?>
</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['clientdebtchangeData']->value->clientdebtchangeafter;?>
</p>
                        </div>
                    </div>


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

                    <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['clientdebtchangeData']->value->comment;?>
<?php $_tmp4=ob_get_clean();?><?php if (!empty($_tmp4)){?>
                    <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['clientdebtchangeData']->value->comment;?>
</p>


                        </div>
                    </div>

                    <?php }?>
                    <!-- =================================================   -->

                    <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 class="clearfix"></div>
        </div>




    </div>
</div>

<?php }} ?>