Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa21617d4ti08
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jhon
pa21617d4ti08
Commits
dc00cc63
Commit
dc00cc63
authored
7 years ago
by
jhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix crud barang
parent
4af52e65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
index.blade.php
...iews/vendor/adminlte/inventori/ListBarang/index.blade.php
+2
-2
web.php
routes/web.php
+3
-1
No files found.
resources/views/vendor/adminlte/inventori/ListBarang/index.blade.php
View file @
dc00cc63
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
<th>Action</th>
<th>Action</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
@foreach(
$barangs
as
$barang
)
@foreach(
$barangs
as
$barang
)
<tr>
<tr>
<td>
{
{$barang->nama}
}
</td>
<td>
{
{$barang->nama}
}
</td>
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
dc00cc63
...
@@ -58,12 +58,14 @@ Route::group(['middleware' => ['web','auth','customer']], function () {
...
@@ -58,12 +58,14 @@ Route::group(['middleware' => ['web','auth','customer']], function () {
});
});
Route
::
group
([
'middleware'
=>
[
'web'
,
'auth'
,
'inventori'
]],
function
()
{
Route
::
group
([
'middleware'
=>
[
'web'
,
'auth'
,
'inventori'
]],
function
()
{
Route
::
get
(
'/ListBarang'
,
'InventoriController@
l
istBarang'
);
Route
::
get
(
'/ListBarang'
,
'InventoriController@
L
istBarang'
);
Route
::
get
(
'/create'
,
'InventoriController@create'
);
Route
::
get
(
'/create'
,
'InventoriController@create'
);
Route
::
post
(
'/store'
,
'InventoriController@store'
);
Route
::
post
(
'/store'
,
'InventoriController@store'
);
Route
::
get
(
'/edit/{id}'
,
'InventoriController@edit'
);
Route
::
get
(
'/edit/{id}'
,
'InventoriController@edit'
);
Route
::
post
(
'/update/{id}'
,
'InventoriController@update'
);
Route
::
post
(
'/update/{id}'
,
'InventoriController@update'
);
Route
::
get
(
'/delete/{id}'
,
'InventoriController@destroy'
);
Route
::
get
(
'/delete/{id}'
,
'InventoriController@destroy'
);
Route
::
get
(
'/ListRequest'
,
'InventoriController@ListRequest'
);
});
});
Route
::
group
([
'middleware'
=>
[
'web'
,
'auth'
,
'kasir'
]],
function
()
{
Route
::
group
([
'middleware'
=>
[
'web'
,
'auth'
,
'kasir'
]],
function
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment