Removed composer to repo

This commit is contained in:
Anna-Sara Sélea 2025-09-21 11:28:26 +02:00
parent e5ad277fcb
commit b5844f0f48
3 changed files with 2 additions and 14 deletions

View file

@ -19,8 +19,8 @@ class AdminWidget extends BaseWidget
//Card::make(__('Total number of users'), User::count() ), //Card::make(__('Total number of users'), User::count() ),
Card::make(__('Total number of games'), Item::where('type', 'game')->count() ), Card::make(__('Total number of games'), Item::where('type', 'game')->count() ),
Card::make(__('Total number of items'), Item::where('type', 'item')->count() ), Card::make(__('Total number of items'), Item::where('type', 'item')->count() ),
Card::make(__('Reservations at the moment'), Reserveditem::where('returned_date', null)->withTrashed()->count() ), Card::make(__('Reservations at the moment'), Reserveditem::where('returned_date', null)->count() ),
Card::make(__('Reservations over time'), Reserveditem::withTrashed()->count() ), Card::make(__('Reservations over time'), Reserveditem::withTrashed()->withTrashed()->count() ),
]; ];
} }

View file

@ -1,12 +0,0 @@
#!/bin/sh
if [ ! -f composer.phar ]
then
echo "Composer not installed installing composer from getcomposer.org...\n"
curl http://getcomposer.org/download/2.3.5/composer.phar --output composer.phar
echo "Done installing composer.\n"
fi
php composer.phar $@

Binary file not shown.