• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Fleet Manager - Vehicle Management & Booking System

Fleet Manager - Vehicle Management & Booking System v6.5

No permission to download
gerysilaban updated Fleet Manager - Vehicle Management & Booking System with a new update entry:

Version 6.3.1

Change Log 6.3.1​

    • One of the major changes in the new version is the removal of the "Assign Driver" option from the Driver tab. This change simplifies the user experience, making it easier and more efficient to manage drivers. Additionally, the bug that caused driver names not to change in previous versions has been fixed, ensuring that all driver information is up-to-date.
    • Another new feature is the addition of a "show password"...

Read the rest of this update entry...
 
  • Like
Reactions: dorob
Is it nulled?
Follow this one
clear your file then paste this to file
framework/app/Http/Controllers/LaravelWebInstaller.php

MAKE SURE YOU DOWNLOAD SOURCE CODE FROM THIS WEBSITE.


Code:
<?php

/*
@copyright

Fleet Manager v6.1

Copyright (C) 2017-2022 Hyvikk Solutions <https://hyvikk.com/> All rights reserved.
Design and developed by Hyvikk Solutions <https://hyvikk.com/>

 */
namespace App\Http\Controllers;

use App\Helpers\DatabaseManager;
use App\Helpers\EnvironmentManager;
use App\Helpers\InstalledFileManager;
use App\Helpers\PermissionsChecker;
use App\Helpers\RequirementsChecker;
// use App\Http\Controllers\Controller;
use App\Http\Requests\LaravelWebInstallerRequest;
use DB;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;

class LaravelWebInstaller extends Controller
{

    public function __construct(PermissionsChecker $checker, RequirementsChecker $checker2, EnvironmentManager $environmentManager, DatabaseManager $databaseManager)
    {
        $this->permissions = $checker;
        $this->requirements = $checker2;
        $this->environmentManager = $environmentManager;
        $this->databaseManager = $databaseManager;
        $this->middleware("canInstall")->except("installed");
    }

    public function index()
    {
        if (file_exists("storage/installed")) {
            \File::copy("storage/installed", storage_path('installed'));
        }
        if (file_exists('public/uploads')) {
            $files = Storage::disk('public_uploads')->files('');
            foreach ($files as $file) {
                if (file_exists("public/uploads/" . $file)) {
                    \File::copy("public/uploads/" . $file, "uploads/" . $file);
                }
            }
        }
        Artisan::call('cache:clear');
        Artisan::call('view:clear');
        Artisan::call('config:clear');
        $permissions = $this->permissions->check(
            config('installer.permissions')
        );
        $requirements = $this->requirements->check(
            config('installer.requirements')
        );

        $envConfig = $this->environmentManager->getEnvContent();
        if ($permissions['errors'] == null || $requirements['errors'] == null) {
            return view('laravel_web_installer.laravel_web_installer', compact('envConfig', 'permissions', 'requirements'));
        } else {
            abort(404);
        }

    }

    private function check_status($code)
    {
        $data = array("pcode" => $code, 'domain' => $_SERVER['SERVER_NAME']);
        $data_string = json_encode($data);

        $ch = curl_init('https://3xy2s8y7c9.execute-api.ap-south-1.amazonaws.com/prod');
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_HTTPHEADER, array(
            'Content-Type: application/json',
            'Content-Length: ' . strlen($data_string))
        );

        $result = curl_exec($ch);
        return $result;
    }

    public function install(LaravelWebInstallerRequest $request, InstalledFileManager $fileManager)
    {
        $code = $request->purchase_code;
        $xx = $this->check_status($code);
        if ($xx != "1") {
            $response = [
                'status' => 'success',
                'message' => "Verified Code",
            ];
        } else {
            $response = [
                'status' => 'success',
                'message' => "Verified Code",
            ];
        }

        if ($response['status'] == 'success') {
            $message = $this->environmentManager->saveFile($request);
            // dd($message['status']);
            if ($message['status'] == 'success') {
                return redirect('migration');

            } else {

                $msg = $message['message'];
                return redirect()->back()->with(['message' => $msg]);

            }
        } else {
            $p_code = $response['errors'];
            $msg = $p_code['purchase_code'];
            return redirect()->back()->with(['message' => $msg]);
        }

    }

    public function db_migration(InstalledFileManager $fileManager)
    {
        //$database = $this->databaseManager->migrateAndSeed();
        $database = DB::unprepared(File::get(storage_path('fleet6_db.sql')));

        // dd($database['status']);
        //if ($database['status'] == 'success') {
        if ($database == 'true') {

            $fileManager->update();
            return view('laravel_web_installer.finished');

        } else {
            abort(404);
        }
    }

    public function migration()
    {
        // count number of tables in database
        $tables = DB::select('SHOW TABLES');

        // dd($tables[0]->total); //total number of tables
        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "") {
            Artisan::call('backup:run', ['--only-db' => 'true']);

            // existing database of fleet2 having tables | update fleet2 => fleet3 with old database records remains same

            return redirect('upgrade');
        }
        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && (file_get_contents(storage_path('installed')) == "version3" || file_get_contents(storage_path('installed')) == "version3.1")) {

            Artisan::call('backup:run', ['--only-db' => 'true']);

            // existing database of fleet3 having tables | update fleet3 new features with old database records remains same

            return redirect('upgrade3');
        }
        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "version4") {
            Artisan::call('backup:run', ['--only-db' => 'true']);

            // existing database of fleet4 having tables | update fleet4 => fleet4.0.1 with old database records remains same

            return redirect('upgrade4');
        }
        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "version4.0.1") {
            Artisan::call('backup:run', ['--only-db' => 'true']);

            // existing database of fleet4 having tables | update fleet4 => fleet4.0.1 with old database records remains same

            return redirect('upgrade4.0.2');
        }

        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "version4.0.2") {
            Artisan::call('backup:run', ['--only-db' => 'true']);

            // existing database of fleet4 having tables | update fleet4.0.2 => fleet4.0.3 with old database records remains same

            return redirect('upgrade4.0.3');
        }
        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "version4.0.3") {
            Artisan::call('backup:run', ['--only-db' => 'true']);

            // existing database of fleet4 having tables | update fleet4.0.3 => fleet5.0 with old database records remains same

            return redirect('upgrade5');
        }

        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "version5") {
            Artisan::call('backup:run', ['--only-db' => 'true']);

            // existing database of fleet4 having tables | update fleet4.0.3 => fleet5.0 with old database records remains same

            return redirect('upgrade6');
        }

        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "version6") {
            Artisan::call('backup:run', ['--only-db' => 'true']);
            // existing database of fleet4 having tables | update fleet4.0.3 => fleet5.0 with old database records remains same

            return redirect('upgrade6.0.1');
        }

        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "version6.0.1") {
            Artisan::call('backup:run', ['--only-db' => 'true']);
            // existing database of fleet4 having tables | update fleet4.0.3 => fleet5.0 with old database records remains same

            return redirect('upgrade6.0.2');
        }

        if (sizeof($tables) > 0 && file_exists(storage_path('installed')) && file_get_contents(storage_path('installed')) == "version6.0.2") {
            Artisan::call('backup:run', ['--only-db' => 'true']);
            // existing database of fleet4 having tables | update fleet4.0.3 => fleet5.0 with old database records remains same

            return redirect('upgrade6.0.3');
        }

        if (sizeof($tables) == 0 && !file_exists(storage_path('installed'))) {
            // empty database/ new installation

            return redirect('migrate');
        } else {
            return redirect()->back()->with(['message' => "Incorrect Database Name"]);
        }

        // return view('laravel_web_installer.migrate');

    }
}
 
Hi, thanks for that, but if you can update to version 6.4 that would be perfect. Thank you very much in advance!
 
gerysilaban updated Fleet Manager - Vehicle Management & Booking System with a new update entry:

Change Log 6.4

Bug Fixes

  • In the latest version, a significant enhancement involves the removal of the "Assign Driver" option from the Driver tab. This modification significantly simplifies the user experience, enhancing the efficiency of driver management.
  • A previously existing bug that prevented driver names from being updated in earlier versions has been successfully resolved. As a result, all driver information is now accurately reflected and kept up-to-date...

Read the rest of this update entry...
 
  • Like
Reactions: Klrahul
silaban updated Fleet Manager - Vehicle Management & Booking System with a new update entry:

Change Log 6.5

New Features
    • The notification now includes the vehicle's licence plate number, which is a helpful addition. This makes it easier for the user to identify the notification and its contents.
    • An additional status called "Ongoing" has been added to bookings, which helps users distinguish between rides that have not yet been completed and are therefore pending payment.
    • The reasons for cancelling a booking have been made more...

Read the rest of this update entry...
 
  • Love
Reactions: TechBrain
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock