<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>



    <style>
        body {
            font-family: sans-serif;
        }
        .page_break { page-break-before: always; }
        .box-container {
            /*width: 100%;
            /*padding: 2rem;
            border: 1px solid #f2f2f2;
            border-radius: 5px;
            background-color: #ffffff; 
            margin-left: 10%;
            margin-right: 10%; */
        }

        .pl-1 {
            padding-left: 0.3rem;
        }

        .pr-1 {
            padding-right: 0.3rem;
        }

        .box-container .title {
            font-weight: bold;
            padding: 1rem;
            border-bottom: 1px solid #f2f2f2;
            background-color: #f2f2f2;
        }

        .transaction-box {
            margin-top: 1rem;
        }

        .transaction-box .item {
            display: table;
            width: 100%;
            margin-bottom: 1rem;
        }

        .transaction-box .item>* {
            display: table-cell;
            vertical-align: middle;
        }

        .transaction-box .item> :first-child {
            text-align-last: left;
        }

        .transaction-box .item> :last-child {
            text-align-last: right;
            font-weight: bold;
        }

        .transaction_details_box {
            margin-top: 3rem;
            border-radius: 5px;
            display: table;
            width: 100%;
            margin-bottom: 3rem;
        }

        .transaction_details_box .left {
            display: table;
            margin-bottom: 1rem;
            width: 100%;
        }

        .transaction_details_box .left>* {
            display: table-cell;
            vertical-align: middle;
        }



        .transaction_details_box .left .item {
            display: table;
            width: 100%;
            float: left;
            margin-bottom: 1rem;
        }

        .transaction_details_box .left .item>* {
            display: table-cell;
            vertical-align: middle;

            width: 100%;
            margin-bottom: 1rem;
        }

        .transaction_details_box .left .item> :first-child {
            text-align: left;
        }

        .transaction_details_box .left .item> :last-child {
            text-align: right;
        }

        .transaction_details_box .right {
            display: table;
            width: 100%;
        }

        .transaction_details_box .right table {
            width: 100%;
        }

        .payment_tile {
            text-align: center;
            text-transform: uppercase;
            font-weight: bold;
            margin-top: 0.5rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            border-bottom: 1px solid #f2f2f2;
            background-color: #f2f2f2;
        }

        .mb-3 {
            margin-bottom: 1.5rem ;
        }

        th {
            background: #8a97a0;
            color: #fff;
        }

        trr {
            background: #f4f7f8;
        }

        trr:nth-child(even) {
            background: #e8eeef;
        }

        th,
        tdd {
            padding: 0.5rem;
        }

        .single_item .value {
            font-weight: bold;
        }
    </style>



</head>

<body>
    <div class="box-container">

        <?php   
                $dictionaire_actif = array();
                $dictionaire_passif = array();
        ?>


    <!--
    <div class="payment_tile">BILAN</div>
    -->

    <table style="width: 100%; font-size:13.5px;" class="mb-3">
        <tr>
            <td>Période </td> 
            <td>: <?php echo e(get_format_date($date_start,'L')); ?> au <?php echo e(get_format_date($date_end,'L')); ?></td>
            
        </tr>
        <tr>
            <td> Devise </td>
            <td>: <?php echo e($devise); ?> - <?php echo e(get_libelle_devise($devise)); ?></td>
        </tr>
    </table>

    
   
   
    <table class="" border="1" style="width: 100%;  font-size:13px;border-collapse: collapse;">
    
            <tr>
                <td class="pl-1" style="width: 5%;" rowspan="2" align="center"><b>REF.</b></td>
                <td class="pl-1"  rowspan="2" align="center"><b>ACTIF</b></td>
                <td class="pl-1"  rowspan="2"  style="width: 5%;" align="center"><b>NOTE</b></td>
                <td class="pl-1" style="width: 42%;"  align="center" colspan="3"><b>EXERCICE <?php echo e(getExercice()); ?></b></td>
                <td class="pl-1" style="width: 14%;" align="center"><b>EX. <?php echo e(getExercice_n_1()); ?></b></td>
            </tr>
            <tr>
                <td class="pl-1" style="width: 14%;" align="center" ><b>Brut</b></td>
                <td class="pl-1" style="width: 14%;" align="center" ><b>Amort.</b></td>
                <td class="pl-1" align="center" ><b>Net</b></td>
                <td class="pl-1" align="center"><b>Net</b></td>
            </tr>

            <?php $__currentLoopData = $dico['actif']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $info): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

            <tr>
                <td class="pl-1" align="center"><?php echo e(get_text_MAJ($info['poste'])); ?></td>
                <td class="pl-1" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e($info['intitule']); ?></td>
                <td class="pr-1" align="center" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e($info['note']); ?></td>
                <td class="pr-1" align="right" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e(get_format_montant($info['exercice_n']['brut'])); ?></td>
                <td class="pr-1" align="right" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e(get_format_montant($info['exercice_n']['amort'])); ?></td>
                <td class="pr-1" align="right" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e(get_format_montant($info['exercice_n']['net'])); ?></td>
                <td class="pr-1" align="right" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e(get_format_montant($info['exercice_n1'])); ?></td>
            </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </table>
          
    <div class="page_break">
    <table class="" border="1" style="width: 100%;  font-size:13px;border-collapse: collapse;">
        <tr>
            <td class="pl-1" style="width: 5%;" rowspan="2" align="center"><b>REF.</b></td>
            <td class="pl-1"  style="width: 45%;" rowspan="2" align="center"><b>PASSIF</b></td>
            <td class="pl-1"  rowspan="2" align="center"><b>NOTE</b></td>
            <td class="pl-1" style="width: 20%;"  align="center"><b>EXERCICE <?php echo e(getExercice()); ?></b></td>
            <td class="pl-1" style="width: 20%;" align="center"><b>EX. <?php echo e(getExercice_n_1()); ?></b></td>
        </tr>
        <tr>
            <td class="pl-1" align="center" ><b>Net</b></td>
            <td class="pl-1" align="center"><b>Net</b></td>
        </tr>

        <?php $__currentLoopData = $dico['passif']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $info): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td class="pl-1" align="center"><?php echo e(get_text_MAJ($info['poste'])); ?></td>
            <td class="pl-1" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e($info['intitule']); ?></td>
            <td class="pr-1" align="center" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e($info['note']); ?></td>
            <td class="pr-1" align="right" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e(get_format_montant($info['exercice_n'])); ?></td>
            <td class="pr-1" align="right" style="background-color: <?php echo e($info['bgColor']); ?>;color: <?php echo e($info['textColor']); ?>"><?php echo e(get_format_montant($info['exercice_n1'])); ?></td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </table>    </div>

    </div>
</body>

</html>
<?php /**PATH D:\laravel_apps\big-manager\resources\views/pdf/bilan.blade.php ENDPATH**/ ?>