
    <div class="col-md-12">
        <div class="form-group row">
            <div class='col-md-1'>
                <?php echo Form::label('id', 'Transaction'); ?>

                <?php echo Form::text('id', $grand_livre_ligne->IdTransaction, [(($mode=='show')?'disabled':''),'class' => 'form-control']); ?>

            </div>

            <div class='col-md-2'>
                <?php echo Form::label('date_doc', 'Date'); ?>

                <?php echo Form::text('created_at', $grand_livre_ligne->date_doc, 
                    ['style'=>'text-align:center',(($mode=='show')?'disabled':''),'class' => 'form-control']); ?>

            </div>
            <div class='col-md-3'>
                <?php echo Form::label('ref_doc', 'Référence'); ?>

                <?php echo Form::text('ref_doc', $grand_livre_ligne->ref_doc, [(($mode=='show')?'disabled':''),'class' => 'form-control']); ?>

            </div>

            <div class='col-md-1'>
                <?php echo Form::label('journal', 'journal'); ?>

                <?php echo Form::text('journal', $grand_livre_ligne->journal, 
                    ['style'=>'text-align:center',(($mode=='show')?'disabled':''),'class' => 'form-control']); ?>

            </div>
            <div class='col-md-2'>
                <?php echo Form::label('created_at', 'Date&nbsp;de&nbsp;création'); ?>

                <?php echo Form::text('created_at', $grand_livre_ligne->DateCreation, 
                    ['style'=>'text-align:center',(($mode=='show')?'disabled':''),'class' => 'form-control']); ?>

            </div>

        </div>
    </div>



    <div class="col-md-12">
        <div class="form-group row">
            <div class='col-md-12'>
            <?php echo Form::label('liste', 'Ecritures associées'); ?>

            </div>
            <div class='col-md-12'>
                <?php echo $__env->make("comptabilite.grandlivre.ecritures", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
        </div>
    </div>




<?php $__env->startSection('styles'); ?>
    <!-- FancyBox -->
    <?php echo Html::style('css/jquery.fancybox.css'); ?> 
    <?php echo Html::style('css/jquery.fancybox-buttons.css'); ?> 
<?php $__env->stopSection(); ?>


<?php $__env->startSection('scripts'); ?>
    <?php echo Html::script('js/jquery.fancybox.js'); ?>



    <script type="text/javascript">
        $(function () {
            $('#datepicker_date_doc').datepicker({
            format: "dd/mm/yyyy",language: "fr",autoclose: true
            });

            $(".add_ecriture").fancybox({
                //maxWidth    : '80%',
                //maxHeight   : '530px',
                fitToView   : false,
                width       : '80%',
                height      : '80%',
                autoSize    : true,
                autoScale   : false,
                closeClick  : true,
                openEffect  : "zoom",
                closeEffect : 'zoom',
                beforeClose: function () {

                },
                afterClose: function () {

                }
            });
        } );
    </script>

    <script>
      $(function () {
        $("#_table").DataTable({
          "paging": false,
          "lengthChange": false,
          "searching": true,
          "ordering": true,
          "info": true,
          "responsive": false, 
          "autoWidth": false,
          "fixedHeader": true,
           oLanguage: {
                "sZeroRecords": "Aucune ligne",
                "sInfo": "Affichage de _START_ &agrave; _END_ sur _TOTAL_ lignes",
                "sInfoEmpty": "Showing 0 to 0 of 0 records",
                "sInfoFiltered": "(sur un total de _MAX_ lignes)",
                "oPaginate": {"sPrevious": "Pr&eacute;c&eacute;dente","sNext": "Suivante"
                    ,"sFirst": "Premi&egrave;re","sLast": "Derni&egrave;re"},
                    "sSearch":"Chercher",
                buttons: {
                    colvis: 'Colonnes à afficher',
                    copy: 'Copier',print: 'Imprimer',
                    copyTitle: 'Ajouté au presse-papiers',
                    copyKeys: 'Appuyez sur <i>ctrl</i> ou <i>\u2318</i> + <i>C</i> pour copier les données du tableau à votre presse-papiers. <br><br>Pour annuler, cliquez sur ce message ou appuyez sur Echap.',
                    copySuccess: {
                        _: '%d lignes copiées',
                        1: '1 ligne copiée'
                        }
                    }

            },
            dom: "<'row'<'col-sm-6'l><'col-sm-6'f>>" + "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-4'i><'col-sm-4'B><'col-sm-4'p>>",

            "buttons": ["copy", "excel", "colvis"] //"print", "pdf", "csv", 
        })
        .buttons().container().appendTo('#_table_wrapper .col-md-6:eq(0)');

      });
    </script>

<script>
    $(function () {
        function editfirst() {
            if($("#transacstore").val()) {
                var id=$("#transacstore").val();
                
                $("#btn_maj_"+id).click(); 
            }
        }
        editfirst();
    });
</script>
<?php $__env->stopSection(); ?><?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/comptabilite/grandlivre/content.blade.php ENDPATH**/ ?>