mirror of https://github.com/itflow-org/itflow
Add documents
This commit is contained in:
parent
75757bf0df
commit
b63169c09d
10
db.sql
10
db.sql
|
|
@ -969,6 +969,16 @@ CREATE TABLE IF NOT EXISTS `service_contacts` (
|
|||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
--
|
||||
-- Table structure for table `service_documents`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `service_documents`;
|
||||
CREATE TABLE IF NOT EXISTS `service_documents` (
|
||||
`service_id` int(11) NOT NULL,
|
||||
`document_id` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Table structure for table `service_domains`
|
||||
--
|
||||
|
|
|
|||
|
|
@ -236,14 +236,25 @@
|
|||
<li>Asset - Coming soon!</li>
|
||||
</ul>
|
||||
|
||||
<h5><i class="nav-icon fas fa-file-alt"></i> Documents</h5>
|
||||
<ul>
|
||||
<li>SOP: New user for client finance app</li>
|
||||
</ul>
|
||||
|
||||
<!-- Documents -->
|
||||
<?php
|
||||
if($sql_docs){ ?>
|
||||
<h5><i class="nav-icon fas fa-file-alt"></i> Documents</h5>
|
||||
<ul>
|
||||
<?php
|
||||
while($row = mysqli_fetch_array($sql_docs)){
|
||||
echo "<li><a href=\"client.php?client_id=$client_id&tab=documents&q=$row[document_name]\">$row[document_name]</a></li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<h5><i class="nav-icon fas fa-file-alt"></i> Services</h5>
|
||||
<ul>
|
||||
<li>Related Service</li>
|
||||
<li>Related Service - Coming soon!</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue