<?php /* Smarty version Smarty-3.1.11, created on 2025-01-10 23:53:15
         compiled from "../views/default/FinancialPositionview/show.html" */ ?>
<?php /*%%SmartyHeaderCode:1587921814678196cb80ba06-12465778%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '36cfd84b2d3405b3049f36b2716d521c4d42c880' => 
    array (
      0 => '../views/default/FinancialPositionview/show.html',
      1 => 1696094554,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1587921814678196cb80ba06-12465778',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'youtubes' => 0,
    'message' => 0,
    'totalcapitalmoney' => 0,
    'currency' => 0,
    'forYou' => 0,
    'forTox' => 0,
    'savevaluex' => 0,
    'totalaccount' => 0,
    'totalclientdebt' => 0,
    'productserialvalue' => 0,
    'totalprice' => 0,
    'mess' => 0,
    'totalcollection' => 0,
    'totalclientcheck' => 0,
    'totalkempilavalue' => 0,
    'totalCurrentassets' => 0,
    'Fixedassetsdata' => 0,
    'assetdata' => 0,
    'totalFixedassetsvalue' => 0,
    'totalsupplierdebt' => 0,
    'totalsuppliercheck' => 0,
    'totalCurrentliabilities' => 0,
    'totalallmoney' => 0,
    'totalpartnercheck' => 0,
    'totalProfits' => 0,
    'totalPropertyrights' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_678196cb879428_00262483',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_678196cb879428_00262483')) {function content_678196cb879428_00262483($_smarty_tpl) {?><style>
    .myresult {
        -webkit-print-color-adjust: exact;
    }

    @media print {
        table, tbody, thead, th, tr, td {
            font-size: 12px !important;
        }
    }
</style>

<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">التقارير</a></li>
            <li class="active"> المركز المالى</li>
        </ol>
        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading"> تقرير بالمركز المالى
                <a href="<?php echo $_smarty_tpl->tpl_vars['youtubes']->value[131]->url;?>
" target="_blank" class="hidden-print"><img src="../views/default/assets/img/youtube.png" class="pull-left" alt="Youtube" style="width: 2%;"></a>
            </div>
            <div class="panel-body">
                <!-- <form class="form-inline hidden-print" action="balancereportController.php?do=show" method="post">
                   <div class="form-group">
                     <label class="sr-only">من التاريخ</label>
                     <input type="text" class="form-control awdatepicker" autocomplete="off"   data-date-format="yyyy-mm-dd" name="from" >
                   </div>
                   <div class="form-group">
                     <label class="sr-only">إلى التاريخ</label>
                     <input type="text" class="form-control awdatepicker" autocomplete="off"   data-date-format="yyyy-mm-dd" name="to" >
                   </div>
                   <button type="submit" class="btn btn-primary">بحث</button>
                 </form>
               </div>-->
                <div class="panel panel-default panel-m">
                    <!-- Default panel contents -->
                    <div class="panel-heading"><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
</div>
                    <div class="panel-body">
                        <hr/>
                        <table style="width: 100% !important" class="table" border="2">
                            <thead>

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

                                <tr>
                                    <!-- </div>
                                         <div class="col-lg-offset-8 col-lg-4">
                                       <div class="well well-sm">
                                                          <h4 class="text-center">  اجمالى راس المال <?php echo $_smarty_tpl->tpl_vars['totalcapitalmoney']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['currency']->value;?>
</h4>
                                                        </div>
                                     </div>-->
                                </tr>
                                <tr class="active">
                                    <th colspan="4" style="text-align: center">
                                        المركز المالى
                                    </th>
                                </tr>

                                <!--<tr class="active">
                                  <th>
                                    <center>
                                      مجموع
                                    </center>
                                  </th>
                                  <th><?php echo $_smarty_tpl->tpl_vars['forYou']->value;?>
</th>
                                  <th>
                                    <center>
                                      مجموع
                                    </center>
                                  </th>
                                  <th><?php echo $_smarty_tpl->tpl_vars['forTox']->value;?>
</th>
                                </tr>-->
                            </thead>
                            <tbody>
                                <tr>
                                    <td colspan="2">
                                        <table style="width: 100% !important" border="2pt solid black;" class="table-black" >
                                            <tr>
                                                <td></td>

                                                <td></td>

                                                <td> <h4 style="text-decoration: underline; font-weight:bold;">الاصول المتداوله</h4></td>
                                            </tr>
                                            <tr>
                                                <td></td>

                                                <td><?php echo $_smarty_tpl->tpl_vars['savevaluex']->value;?>
</td>
                                                <td> الخزينه ( مجموع الخزن)</td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td><?php echo $_smarty_tpl->tpl_vars['totalaccount']->value;?>
</td>
                                                <td> البنوك ( مجموع حسابات البنوك)</td>
                                            </tr>
                                            <tr>
                                                <td></td>

                                                <td><?php echo $_smarty_tpl->tpl_vars['totalclientdebt']->value;?>
</td>
                                                <td>  مجموع المديونيه ( العملاء)</td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                
                                                <!-- <td><?php echo $_smarty_tpl->tpl_vars['productserialvalue']->value;?>
</td> -->
                                                
                                                <td><?php echo $_smarty_tpl->tpl_vars['totalprice']->value;?>
</td>
                                                
                                                <td> المخزون ( البضاعه بالمخزن) (<?php echo $_smarty_tpl->tpl_vars['mess']->value;?>
)</td>
                                            </tr>
                                            <tr>
                                                <td></td>

                                                <td><?php echo $_smarty_tpl->tpl_vars['totalcollection']->value;?>
</td>
                                                <td>  اوراق قبض
                                                    <table class="table-black">
                                                        <tr>

                                                            <td><?php echo $_smarty_tpl->tpl_vars['totalclientcheck']->value;?>
</td>
                                                            <td style="padding-right: 30px;">  الشيكات المستحقه للشركه</td>
                                                        </tr>
                                                        <tr >

                                                            <td><?php echo $_smarty_tpl->tpl_vars['totalkempilavalue']->value;?>
</td>
                                                            <td style="padding-right: 30px;"> كمبيالات</td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td style="border-bottom:2pt solid black;"><?php echo $_smarty_tpl->tpl_vars['totalCurrentassets']->value;?>
</td>
                                                <td style="border-bottom:2pt solid black;"></td>
                                                <td> <h4> اجمالى الاصول المتداوله</h4></td>
                                            </tr>
                                            <tr style="border-bottom: medium none black;">
                                                <td></td>
                                                <td></td>
                                                <td> <h4 style="text-decoration: underline; font-weight:bold;"> الاصول الثابته </h4></td>
                                            </tr>

                                            <?php  $_smarty_tpl->tpl_vars['assetdata'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['assetdata']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['Fixedassetsdata']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['assetdata']->key => $_smarty_tpl->tpl_vars['assetdata']->value){
$_smarty_tpl->tpl_vars['assetdata']->_loop = true;
?>
                                            <tr>
                                                <td></td>
                                                <td><?php echo $_smarty_tpl->tpl_vars['assetdata']->value->sumasset;?>
</td>
                                                <td> <?php echo $_smarty_tpl->tpl_vars['assetdata']->value->cattitel;?>
</td>
                                            </tr>
                                            <?php } ?>
                                            <tr>

                                                <td style="border-bottom:2pt solid black;"><?php echo $_smarty_tpl->tpl_vars['totalFixedassetsvalue']->value;?>
</td>
                                                <td style="border-bottom:2pt solid black;"></td>
                                                <td> <h4> اجمالى الاصول الثابته </h4></td>
                                            </tr>
                                            <tr>

                                                <td colspan="2"><?php echo $_smarty_tpl->tpl_vars['forYou']->value;?>
</td>

                                                <td> <h4 style="font-weight:bold;"> اجمالى الاصول  </h4></td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td colspan="2">
                                        <table border="2" style="width:100% !important" class="table-black">

                                            <tr>
                                                <td></td>
                                                <td></td>
                                                <td> <h4 style="text-decoration: underline; font-weight:bold;"> خصومات متداوله </h4></td>

                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td><?php echo $_smarty_tpl->tpl_vars['totalsupplierdebt']->value;?>
</td>
                                                <td> الدائنون ( مديونيه الموردين)</td>

                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td><?php echo $_smarty_tpl->tpl_vars['totalsuppliercheck']->value;?>
</td>
                                                <td> اوراق دفع
                                                    <table class="table-black">
                                                        <tr>

                                                            <td><?php echo $_smarty_tpl->tpl_vars['totalsuppliercheck']->value;?>
</td>
                                                            <td style="padding-right: 30px;"> شيكات (الموردين)</td>
                                                        </tr>
                                                    </table>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td style="border-bottom:2pt solid black;"><?php echo $_smarty_tpl->tpl_vars['totalCurrentliabilities']->value;?>
</td>
                                                <td style="border-bottom:2pt solid black;"></td>
                                                <td> <h4> اجمالى الخصوم المتداوله</h4></td>

                                            </tr>

                                            <tr>
                                                <td></td>
                                                <td></td>
                                                <td> <h4 style="text-decoration: underline; font-weight:bold;"> حقوق الملكيه </h4></td>

                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td><?php echo $_smarty_tpl->tpl_vars['totalallmoney']->value;?>
</td>
                                                <td> راس المال

                                                    <table class="table-black">
                                                        <tr>

                                                            <td><?php echo $_smarty_tpl->tpl_vars['totalcapitalmoney']->value;?>
</td>
                                                            <td style="padding-right: 30px;"> راس المال الافتتاحى</td>
                                                        </tr>
                                                        <tr>

                                                            <td><?php echo $_smarty_tpl->tpl_vars['totalpartnercheck']->value;?>
</td>
                                                            <td style="padding-right: 30px;"> الشركاء</td>
                                                        </tr>

                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td></td>
                                                <td><?php echo $_smarty_tpl->tpl_vars['totalProfits']->value;?>
</td>
                                                <td> فروق حقوق الملكيه</td>

                                            </tr>
                                            <tr>

                                                <td style="border-bottom:2pt solid black;"><?php echo $_smarty_tpl->tpl_vars['totalPropertyrights']->value;?>
</td>
                                                <td style="border-bottom:2pt solid black;"></td>
                                                <td>  اجمالى حقوق الملكيه</td>

                                            </tr>
                                            <tr>

                                                <td colspan="2"><?php echo $_smarty_tpl->tpl_vars['forTox']->value;?>
</td>

                                                <td> <h4 style="font-weight:bold;">  اجمالى الخصوم </h4></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div class="clearfix"></div>
                        <hr />
                        <div  class="noprint">
                            <div class="col-lg-12">
                                <div class="form-group">
                                    <div class="col-lg-4">
                                        <button type="button" onclick="print_Custom('mycustomheader');" class="btn btn-success pull-right hidden-print">طباعة</button>
                                    </div>
                                </div>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
<?php }} ?>