@php
use \koolreport\widgets\koolphp\Table;
@endphp
@php
Table::create([
"dataSource" => $this->dataStore("factures"),
"columns" => [
"societe_id" => ["label" => "ID"],
"facture_numero" => ["label" => "Facture"],
// "produit" => ["label" => "Produit"],
// "quantite" => ["label" => "Qté"],
// "total" => ["label" => "Montant (€)", "type" => "number", "prefix" => "€"],
"facture_date" => ["label" => "Date"]
],
"cssClass" => [
"table" => "table table-bordered table-striped"
]
]);
@endphp