<?php

$url = $params['params_form']['url'];
//$extensions = $params['params_form']['extensions'];
//$form = view("admin.shared.form-import-file",compact("url",'extensions'))->render();
//$id_modal = $params['modal']['id'];
//$entete_modal = $params['modal']['title'];
//
$btn_class = $params['btn']['class'] ?? "btn-success";
$btn_label = $params['btn']['label'] ?? __("Importer");
//
//$parametres_modal = [
//    "idModal" => $id_modal,
//    "enteteModal" => $entete_modal,
//    "contenuModal" => $form,
//    "footerModal" => "",
//    "tailleModal" =>  "modal-md",
//];
?>

<button class="btn {{$btn_class}} btn-xs btn-show-form-import-stocks"
{{--        data-toggle="modal"--}}
{{--       data-target = "#{{$id_modal}}"--}}
            data-url = "{{$url}}">
    <i class="mdi mdi-upload"></i>
    {{$btn_label}}
</button>

{{--{!! Utilities::afficheModalBootstrap($parametres_modal,false) !!}--}}

