Update tinker files to use new Helper implementations
This commit is contained in:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user