Register Office
SN | Location | Mobile | Password | Status | Company | Action |
---|---|---|---|---|---|---|
{{$i+1}} | {{$office->office}} | {{$office->contact}} | {{$office->password}} | @if($office->status == 1) Active @else Inactive @endif | {{\App\Models\Company::where(['id' => $office->company])->first()->name}} | {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'POST', 'route' => ['Edit Office', $office->id])) !!} {!! Form::submit('Manage', array('class' => 'mb-2 mr-2 btn-icon btn-sm btn-primary')) !!} {!! Form::close() !!} {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'POST', 'onsubmit' => "return confirm('".trans("Are sure you want to Delete")."');", 'route' => ['Delete Office', $office->id])) !!} {!! Form::submit('Delete', array('class' => 'mb-2 mr-2 btn-icon btn-sm btn-danger')) !!} {!! Form::close() !!} |