<div>

    <div  wire:ignore.self
									class="modal fade bs-example-modal-lg"
									id="DetailTransactionModal"
									tabindex="-1"
									role="dialog"
									aria-labelledby="TransactionModal"
									aria-hidden="true"
								>
									<div class="modal-dialog modal-lg modal-dialog-centered">
										<div class="modal-content">
											<div class="modal-header">
												<h4 class="modal-title" id="TransactionModal">
													Détails
												</h4>
												<button
													type="button"
													class="close"
													data-dismiss="modal"
													aria-hidden="true"
												>
													×
												</button>
											</div>
											<div class="modal-body">
												<div class="table-responsive">
                                                    <table class="table table-sm table-striped">
                                                        <thead>
                                                            <tr>
                                                                <th colspan="5"><?php echo e($this->title_detail); ?></th>
                                                            </tr>
                                                            <!-- __BLOCK__ --><?php if($list_data_detail): ?>
                                                                <tr>
                                                                    <th scope="col">Compte</th>
                                                                    <th scope="col">Intitulé</th>
                                                                    <th scope="col">Débit</th>
                                                                    <th scope="col"> Crédit</th>
                                                                    <th scope="col">Devise</th>
                                                                </tr>
                                                            <?php endif; ?> <!-- __ENDBLOCK__ -->
                                                        </thead>
                                                        <tbody>
                                                           
                                                            <!-- __BLOCK__ --><?php $__empty_1 = true; $__currentLoopData = $list_data_detail; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                                                <tr>
                                                                    <td ><?php echo e($data->fk_num_compte); ?></td>
                                                                    <td><?php echo e($data->nom_compte); ?></td>
                                                                    <td><?php echo e(get_format_montant($data->debit)); ?></td>
                                                                    <td><?php echo e(get_format_montant($data->credit)); ?></td> 
                                                                    <td><?php echo e($data->devise); ?></td>
                                                                </tr>
                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                                                <tr>
                                                                    <td colspan="5" align="center">Aucune donnée trouvée</td>
                                                                </tr>
                                                            <?php endif; ?> <!-- __ENDBLOCK__ -->
                                                            
                                                            
                                                        </tbody>
                                                    </table>
                                                </div>
											</div>
							<div class="modal-footer">
								<button
									type="button"
									class="btn btn-secondary"
									data-dismiss="modal"
								>
								Close
						        </button>
					        </div>
				</div>
			</div>
	</div>




    <div class="table-responsive">
        <table id="table" class="table-striped mb-2" border="1" style="width:100%; font-size:0.8rem;">
            <thead>
                
                <!-- __BLOCK__ --><?php if($list_data): ?>

                    <!-- __BLOCK__ --><?php if($group == 'av'): ?>
                    <tr>
                        <th class="pl-1" style="width: 11%;">Date</th>
                        <th class="pl-1" style="width: 10%;">Référence</th>
                        <th class="pl-1" style="width: 10%;">N° Facture</th>
                        <th class="pl-1" >Libellé</th>
                        <th class="pl-1" >Désignation</th>
                        <th class="pl-1" >Montant</th>
                        <th  style="width: 6%;">Devise</th>
                       <!--  <th ></th> -->
                    </tr>
                    <?php endif; ?> <!-- __ENDBLOCK__ -->

                    <!-- __BLOCK__ --><?php if($group == 'bc'): ?>
                    <tr>
                        <th scope="col">Date</th>
                        <th scope="col">Libellé</th>
                        <th scope="col">Montant</th>
                        <th scope="col">Devise</th>
                        <th scope="col">Désignation</th>
                        <th scope="col"></th>
                    </tr>
                    <?php endif; ?> <!-- __ENDBLOCK__ -->

                    <!-- __BLOCK__ --><?php if($group == 'od'): ?>
                    <tr>
                        <th scope="col">Date</th>
                        <th scope="col">Libellé</th>
                        <th scope="col">Montant</th>
                        <th scope="col">Devise</th>
                        <th scope="col">Justification</th>
                        <th scope="col"></th>
                    </tr>
                    <?php endif; ?> <!-- __ENDBLOCK__ -->

                <?php endif; ?> <!-- __ENDBLOCK__ -->
            </thead>
            <tbody>
               
                <!-- __BLOCK__ --><?php $__empty_1 = true; $__currentLoopData = $list_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>

                    <!-- __BLOCK__ --><?php if($group == 'av'): ?>
                        <tr>
                            <td class="pl-1" ><?php echo e(get_format_date($data->date_valeur)); ?></td>
                            <td class="pl-1"><?php echo e($data->num_facture); ?></td> 
                            <td class="pl-1"><?php echo e($data->num_facture); ?></td> 
                            <td class="pl-1"><?php echo e($data->intitule); ?></td>
                            <td class="pl-1"><?php echo e($data->denomination); ?></td>
                            <td align="right"><?php echo e(get_format_montant($data->montant)); ?></td>
                            <td align="center"><?php echo e($data->devise); ?></td>
                           <!--  <td><a class="text-primary" style="cursor:pointer;"
                            wire:click="showDetail(<?php echo e($data->id); ?>)" ><i class="dw dw-eye"></i> show</a
                            ></td> -->
                        </tr>
                    <?php endif; ?> <!-- __ENDBLOCK__ -->


                    <!-- __BLOCK__ --><?php if($group == 'bc'): ?>
                        <tr>
                            <td class="pl-1" ><?php echo e(get_format_date($data->date_valeur)); ?></td>
                            <td class="pl-1"><?php echo e($data->intitule); ?></td>
                            <td class="pl-1"><?php echo e(get_format_montant($data->montant)); ?></td>
                            <td><?php echo e($data->devise); ?></td>
                            <td><?php echo e($data->denomination); ?></td>
                            <td><a class="text-primary" style="cursor:pointer;"
                            wire:click="showDetail(<?php echo e($data->id); ?>)" ><i class="dw dw-eye"></i> show</a
                            ></td>
                        </tr>
                    <?php endif; ?> <!-- __ENDBLOCK__ -->

                    <!-- __BLOCK__ --><?php if($group == 'od'): ?>
                        <tr>
                            <td ><?php echo e(get_format_date($data->date_valeur)); ?></td>
                            <td><?php echo e($data->intitule); ?></td>
                            <td><?php echo e(get_format_montant($data->montant)); ?></td>
                            <td><?php echo e($data->devise); ?></td>
                            <td><?php echo e($data->justification); ?></td>
                            <td><a class="text-primary" style="cursor:pointer;"
                            wire:click="showDetail(<?php echo e($data->id); ?>)" ><i class="dw dw-eye"></i> show</a
                            ></td>
                        </tr>
                    <?php endif; ?> <!-- __ENDBLOCK__ -->
    
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                    <tr>
                        <td colspan="7" align="center">Aucune donnée trouvée</td>
                    </tr>
                <?php endif; ?> <!-- __ENDBLOCK__ -->
            </tbody>
        </table>
        <?php echo e($list_data->links()); ?>

    </div>
    
</div>
<?php /**PATH D:\laravel_apps\big-manager\resources\views/livewire/journaux-comptable-table.blade.php ENDPATH**/ ?>