This commit is contained in:
person-programmer
2025-12-02 13:27:19 +07:00
parent 461a740be0
commit 9c590d0dbf
100 changed files with 3677 additions and 119 deletions
@@ -0,0 +1,43 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Customer;
class DatabaseController extends Controller
{
//{
public function index()
{
$customer = new Customer();
$customer = $customer->get();
return view('dashbord.dashbord',[
'customer' =>$customer
]);
// }
// public function customersData(){
// $customers = Customer::all();
// return view('Admin.all_customers',compact('customers'));
// }
// public function delete($id)
// {
// $customer = Customer::find($id);
// if($customer->delete())
// {
// return redirect()->back()->with(['msg' => 1]);
// }
// else
// {
// return redirect()->back()->with(['msg' => 2]);
// }
}
}