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,9 +3,10 @@
use App\Cawangan;
use App\Gadai;
use Illuminate\Support\Facades\DB;
use App\Helper;
$tarikh = '2023-11-01';
$active_cawangan_db_connection = getActiveCawanganDbConnection();
$active_cawangan_db_connection = Helper::getActiveCawanganDbConnection();
$active_cawangan_db_name = array_map(function($db_connection){
return config('database.connections' . '.' . $db_connection. '.' . 'database' );