Skip to content

Commit cc1c299

Browse files
committed
catr install
1 parent 3081f59 commit cc1c299

File tree

13 files changed

+431
-1
lines changed

13 files changed

+431
-1
lines changed
+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?php
2+
3+
namespace App\Http\Controllers;
4+
5+
use App\Models\Category;
6+
use App\Models\Customer;
7+
use App\Models\Product;
8+
use Illuminate\Http\Request;
9+
10+
class PosController extends Controller
11+
{
12+
/**
13+
* Display a pos main page.
14+
*/
15+
public function index()
16+
{
17+
$Customer = Customer::all();
18+
$Category = Category::all();
19+
$product = Product::all();
20+
return view('dashbord.Pos.index',compact('Customer','Category','product'));
21+
}
22+
23+
/**
24+
* Show the form for creating a new resource.
25+
*/
26+
public function create()
27+
{
28+
//
29+
}
30+
31+
/**
32+
* Store a newly created resource in storage.
33+
*/
34+
public function store(Request $request)
35+
{
36+
//
37+
}
38+
39+
/**
40+
* Display the specified resource.
41+
*/
42+
public function show(string $id)
43+
{
44+
//
45+
}
46+
47+
/**
48+
* Show the form for editing the specified resource.
49+
*/
50+
public function edit(string $id)
51+
{
52+
//
53+
}
54+
55+
/**
56+
* Update the specified resource in storage.
57+
*/
58+
public function update(Request $request, string $id)
59+
{
60+
//
61+
}
62+
63+
/**
64+
* Remove the specified resource from storage.
65+
*/
66+
public function destroy(string $id)
67+
{
68+
//
69+
}
70+
}

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"laravel/sanctum": "^3.2",
1313
"laravel/tinker": "^2.8",
1414
"maatwebsite/excel": "^3.1",
15+
"mindscms/laravelshoppingcart": "^2.1",
1516
"psr/simple-cache": "^2.0"
1617
},
1718
"require-dev": {

composer.lock

+70-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
23.7 KB
Loading
3.61 KB
Loading
26.2 KB
Loading
19.4 KB
Loading
20.7 KB
Loading
20.7 KB
Loading

0 commit comments

Comments
 (0)