added server edited at 12/10/2024

This commit is contained in:
hafifierahman
2024-10-12 21:21:53 +08:00
parent 1bb813e22e
commit e438f8992d
7 changed files with 22 additions and 6 deletions
@@ -27,7 +27,7 @@ class BackupStokAuditController extends Controller
{
public function backupStokAudit(Request $request){
if($request->zone == 'all'){
$cawangan = Cawangan::on('mysql7')->get();
$cawangan = Cawangan::on('mysql7')->where('version','v2')->get();
}else{
$cawangan = Cawangan::on('mysql7')->where('zone',$request->zone)->get();
}