Agregando calculo de fondo
This commit is contained in:
@@ -5,27 +5,28 @@ namespace App\Providers;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Number;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use TallStackUi\Facades\TallStackUi;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
$isProduction = app()->isProduction();
|
||||
|
||||
Model::shouldBeStrict(! $isProduction);
|
||||
|
||||
Model::shouldBeStrict(!app()->isProduction());
|
||||
Number::useLocale('es-CL');
|
||||
Number::useCurrency('CLP');
|
||||
|
||||
$this->personalize();
|
||||
}
|
||||
|
||||
public function personalize()
|
||||
{
|
||||
TallStackUi::personalize()
|
||||
->table()
|
||||
->block('table.td', 'dark:text-dark-300 whitespace-nowrap px-3 py-1 text-sm text-gray-500');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user