Update tinker files to use new Helper implementations

This commit is contained in:
Afiq Hamzah
2023-11-27 10:17:57 +08:00
committed by Hafifie PKB
parent be9c20e767
commit 7255ef3ea9
3 changed files with 10 additions and 7 deletions
+2 -1
View File
@@ -3,10 +3,11 @@
use App\Cawangan;
use App\Customer;
use App\Gadai;
use App\Helper;
$tarikh = '2023-11-01';
$active_cawangan_db_connection = getActiveCawanganDbConnection();
$active_cawangan_db_connection = Helper::getActiveCawanganDbConnection();
$active_cawangan_db = array_map(function($connection){
return config('database.connections.' . $connection)['database'];