-
Beta Was this translation helpful? Give feedback.
Answered by
tabuna
Mar 30, 2021
Replies: 1 comment
-
Hi @kubre, you can take advantage of the grouping: Group::make([
Link::make()
->route('school.enquiry.edit', $enquiry->id)
->canSee($this->user->hasAccess('enquiry.edit'))
->icon('note'),
ModalToggle::make()
->icon('share-alt')
->canSee($this->user->hasAccess('admission.create'))
->modal('chooseEnquirerType')
->modalTitle('Admission Process #1')
->method('proceedToAdmission')
->asyncParameters($enquiry->id),
Button::make()
->icon('trash')
->type(Color::DANGER())
->canSee($this->user->hasAccess('enquiry.delete'))
->method('remove')
->confirm("Once deleted this can not be restored are you sure?")
->parameters([
'id' => $enquiry->id,
]),
])->render(); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kubre
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @kubre, you can take advantage of the grouping: