mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Added start_page function in config, Added Contacts and Locations, seperated client nav and page routes out
This commit is contained in:
42
client_routes.php
Normal file
42
client_routes.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
if(isset($_GET['tab'])){
|
||||
if($_GET['tab'] == "details"){
|
||||
include("client_details.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "contacts"){
|
||||
include("client_contacts.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "locations"){
|
||||
include("client_locations.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "assets"){
|
||||
include("client_assets.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "vendors"){
|
||||
include("client_vendors.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "passwords"){
|
||||
include("client_passwords.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "invoices"){
|
||||
include("client_invoices.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "payments"){
|
||||
include("client_payments.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "quotes"){
|
||||
include("client_quotes.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "attachments"){
|
||||
include("client_attachements.php");
|
||||
}
|
||||
elseif($_GET['tab'] == "notes"){
|
||||
include("client_notes.php");
|
||||
}
|
||||
}
|
||||
else{
|
||||
include("client_details.php");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user