
    <div class="row">
        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("ALL_VISU")  )
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box " 
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['allocations'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Allocations</p>
                </div>
                <div class="icon">
                    <i class="fas fa-people-roof"></i>
                </div>
                <a href="{!! url('/home/allocations') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif

        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("SOC_VISU")  )
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box"
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['aides_sociales'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Aides sociales</p>
                </div>
                <div class="icon">
                    <i class="fas fa-handshake-angle"></i>
                </div>
                <a href="{!! url('/home/aides_sociales') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif

        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("RET_VISU") )
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box"
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['retraites'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Retraites</p>
                </div>
                <div class="icon">
                    <i class="fas fa-person-cane"></i>
                </div>
                <a href="{!! url('/home/retraites') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif


        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("REC_VISU") || $user->can("SAL_VISU") )
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box"
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['recouvrement'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Recouvrement</p>
                </div>
                <div class="icon">
                    <i class="fas fa-hand-holding-dollar"></i>
                </div>
                <a href="{!! url('/home/recouvrement') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif

        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("MDT_VISU") )
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box"
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['mandatement'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Mandatement</p>
                </div>
                <div class="icon">
                    <i class="fas fa-file-invoice"></i>
                </div>
                <a href="{!! url('/home/mandatement') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif


        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("CPT_VISU") )
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box"
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['comptabilite'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Comptabilité</p>
                </div>
                <div class="icon">
                    <i class="fas fa-cash-register"></i>
                </div>
                <a href="{!! url('/home/comptabilite') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif

        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("ANA_ALL") || $user->can("ANA_ALL") || $user->can("ANA_SOC") || $user->can("ANA_RET") || $user->can("ANA_DATA"))
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box"
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['analyses'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Analyses</p>
                </div>
                <div class="icon">
                    <i class="fas fas fa-chart-line"></i>
                </div>
                <a href="{!! url('/home/analyses') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif


        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("PAR_MAJ") || $user->can("PAR_VISU"))
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box"
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['parametres'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Paramètres</p>
                </div>
                <div class="icon">
                    <i class="fas fas fa-gears"></i>
                </div>
                <a href="{!! url('/home/parametres') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif

        @if( $user->HasRole("ADMINISTRATEUR") || $user->can("ROL_VISU")|| $user->can("USR_MAJ") )
        <div class="col-lg-3 col-6">
            <!-- small box -->
            <div class="small-box"
                style="color:white;background-color:{!! App\Models\MyApp::color_menus['acces'] !!}">
                <div class="inner">
                    <h3>&nbsp;</h3><p>Utilisateurs & Droits d'accès</p>
                </div>
                <div class="icon">
                    <i class="fas fas fa-users"></i>
                </div>
                <a href="{!! url('/home/acces') !!}" class="small-box-footer">&nbsp;<i class="fas fa-arrow-circle-right"></i></a>
            </div>
        </div>
        @endif
    </div>


