update files inside importify folder
This commit is contained in:
parent
241bf5ed36
commit
e255e2bda7
@ -106,7 +106,20 @@ class LoginController extends Controller
|
||||
return redirect()->to($request->get('to'));
|
||||
}
|
||||
|
||||
return redirect()->intended();
|
||||
// return redirect()->intended();
|
||||
|
||||
// redirection based on user profile: User, Admin, Superuser, owner
|
||||
if ($user->hasRole('Template')) {
|
||||
return redirect()->to("userarea/index.php"); }
|
||||
if ($user->hasRole('Admin')) {
|
||||
return redirect()->to("userarea/index.php"); }
|
||||
if ($user->hasRole('User')) {
|
||||
return redirect()->to("userarea/index.php"); }
|
||||
if ($user->hasRole('Superuser')) {
|
||||
return redirect()->to("userarea/index.php"); }
|
||||
if ($user->hasRole('Quality')) {
|
||||
return redirect()->to("userarea/index.php"); }
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
<h5 class="header-title pb-3 mt-0">Importify: <?php echo $dashboard; ?></h5>
|
||||
<a class="btn btn-primary" href="insert-importifytemplate.php" role="button">Insert new template</a>
|
||||
<a class="btn btn-success" href="rsl-category.php" role="button">Import File</a>
|
||||
<a href=""><button type="button" class="btn btn-info w-md waves-effect waves-light">Hystory Import</button></a>
|
||||
<a href="archiveimport.php"><button type="button" class="btn btn-info w-md waves-effect waves-light">Hystory Import</button></a>
|
||||
<a href="importifydashboard.php"><button type="button" class="btn btn-pink w-md waves-effect waves-light">Importify Dasboard</button></a>
|
||||
<a href="dashboard.php"><button type="button" class="btn btn-danger w-md waves-effect waves-light">Reportify Dasboard</button></a>
|
||||
|
||||
|
||||
@ -123,7 +123,7 @@ $conn->close();
|
||||
<div class="dropdown-item noti-title">
|
||||
<h5>Welcome</h5>
|
||||
</div>
|
||||
<a class="dropdown-item" href="#"><i class="mdi mdi-account-circle m-r-5 text-muted"></i> <?php echo $userprofile; ?></a>
|
||||
<a class="dropdown-item" href="<?php echo BASE_URL; ?>profile"><i class="mdi mdi-account-circle m-r-5 text-muted"></i> <?php echo $userprofile; ?></a>
|
||||
<a class="dropdown-item" href="#"><i class="mdi mdi-wallet m-r-5 text-muted"></i> <?php echo $mycompany; ?></a>
|
||||
|
||||
<div class="dropdown-divider"></div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user