Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error install Point Of Sale #55

Open
dimmas893 opened this issue May 6, 2024 · 0 comments
Open

error install Point Of Sale #55

dimmas893 opened this issue May 6, 2024 · 0 comments

Comments

@dimmas893
Copy link

Class 'pos' not found

public function install($id)

{

    try{

        $data = ir_model::where('model',$id)->first();

        $data->technical_name::installed();

        $data->update([

            'instalation'=> True,

        ]);

        Toastr::success('Module '.$data->name.' successfully installed','Success');

        return redirect()->back();

    } catch (\Exception $e) {

        Toastr::error($e->getMessage(),'Something Wrong');

        // Toastr::error('Check In Error!','Something Wrong');

        return redirect()->back();

    }

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant