<?php /* Smarty version Smarty-3.1.11, created on 2024-07-24 14:38:22
         compiled from "..\views\default\clientPayedDeptview\editprint.html" */ ?>
<?php /*%%SmartyHeaderCode:477866a0e7ae563176-71450640%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ca28229bc7e253582eb15ffb66f6513a3af391bb' => 
    array (
      0 => '..\\views\\default\\clientPayedDeptview\\editprint.html',
      1 => 1711567579,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '477866a0e7ae563176-71450640',
  '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_66a0e7ae6762e0_04900585',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66a0e7ae6762e0_04900585')) {function content_66a0e7ae6762e0_04900585($_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 }?>


                    <?php if ($_smarty_tpl->tpl_vars['Programsettingdata']->value->closingcustomeraccount==1){?>
                    <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->totalpayments;?>
</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 }} ?>