mirror of
https://github.com/itflow-org/itflow
synced 2026-03-17 03:04:50 +00:00
Add documents
This commit is contained in:
10
db.sql
10
db.sql
@@ -969,6 +969,16 @@ CREATE TABLE IF NOT EXISTS `service_contacts` (
|
|||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) 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`
|
-- Table structure for table `service_domains`
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -236,14 +236,25 @@
|
|||||||
<li>Asset - Coming soon!</li>
|
<li>Asset - Coming soon!</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h5><i class="nav-icon fas fa-file-alt"></i> Documents</h5>
|
|
||||||
<ul>
|
<!-- Documents -->
|
||||||
<li>SOP: New user for client finance app</li>
|
<?php
|
||||||
</ul>
|
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>
|
<h5><i class="nav-icon fas fa-file-alt"></i> Services</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Related Service</li>
|
<li>Related Service - Coming soon!</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user