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

Manage Merchant #2

Open
yuridimas opened this issue Jul 18, 2023 · 0 comments
Open

Manage Merchant #2

yuridimas opened this issue Jul 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@yuridimas
Copy link

yuridimas commented Jul 18, 2023

Table merchants {
  id unsignedbiginteger [pk]
  owner_id unsignedbiginteger
  uuid string
  avatar string
  name string
  address string
  phone_number string
}
function middleware
index superadmin
store superadmin,admin
show superadmin,admin
update superadmin,admin
destroy superadmin

Merchant dapat dibuat oleh superadmin dan admin, pada saat function show dan update berikan kondisi where owner_id jika auth()->id() adalah admin terapkan metode softdelete untuk function destroy

@yuridimas yuridimas added the enhancement New feature or request label Jul 18, 2023
@yuridimas yuridimas added this to the v1 milestone Jul 18, 2023
@yuridimas yuridimas changed the title CRUD Merchant Merchant Jul 18, 2023
@baralogi baralogi changed the title Merchant Manage Merchant Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants