From 9061f72bb24ca15a7dcb01f015c3daca1c1667de Mon Sep 17 00:00:00 2001 From: Abhishek Sawant Date: Thu, 15 Jul 2021 17:34:12 +0530 Subject: [PATCH] Services page and new Service page added. Navbar added to remaining pages and bug resolved in receivables.html . --- Clients.html | 55 +++--- Receivables.html | 464 ++++++++++++++++++++++------------------------ newClient.html | 30 +++ newService.html | 102 ++++++++++ newService.php | 33 ++++ services.html | 228 +++++++++++++++++++++++ updateClient.php | 2 + updateService.php | 25 +++ 8 files changed, 674 insertions(+), 265 deletions(-) create mode 100644 newService.html create mode 100644 newService.php create mode 100644 services.html create mode 100644 updateService.php diff --git a/Clients.html b/Clients.html index 30f01f6..f9f8556 100644 --- a/Clients.html +++ b/Clients.html @@ -95,34 +95,35 @@
- + +

diff --git a/Receivables.html b/Receivables.html index 105e60a..0199fba 100644 --- a/Receivables.html +++ b/Receivables.html @@ -152,34 +152,34 @@ - +
@@ -196,7 +196,7 @@
Filter Options

+
-
- +
Select Firm: table-bordered mt-5 " width="100%"> - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + Select Firm: if ($resultTable->num_rows > 0) { $row_count = 0; while ($row = mysqli_fetch_assoc($resultTable)) { $row_count += 1; ?> - - - - - - - - + + + + + + - - - - - - - + + + + + + + + + + - - -
Sr. No.Firm NameBill No.DatePartyAmountAmount ReceivedReceipt DateModeChq. No.Amount PendingTDSAction
Sr. No.Firm NameBill No.DatePartyAmountAmount ReceivedReceipt DateModeChq. No.Amount PendingTDSAction
- - - - - - - - - - - - -
- +
+ + + + + + + + + + + + +
+ - - " class="custom-select" disabled> + + + + + - - " class="custom-select" disabled> + + + + + - - -
-
- - - + + + - - - - - - - -
- - - -
-
+ + + + + + + + + + +
+ + + +
+
-
+ + +

diff --git a/newClient.html b/newClient.html index d0e71df..2dc78a8 100644 --- a/newClient.html +++ b/newClient.html @@ -39,6 +39,36 @@
+ + +

New Client Form

diff --git a/newService.html b/newService.html new file mode 100644 index 0000000..a7f0d31 --- /dev/null +++ b/newService.html @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + New Service Form + + + + + + +
+

New Service Form

+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + + \ No newline at end of file diff --git a/newService.php b/newService.php new file mode 100644 index 0000000..28bca6b --- /dev/null +++ b/newService.php @@ -0,0 +1,33 @@ +0){ + echo ""; + }else{ + $query = "insert into services values(NULL,'".$name."','".$desc."',".$sac.",".$firm.")"; + $result = mysqli_query($con,$query); + + if($result){ + echo ""; + }else{ + echo ""; + } + } + + + echo " + + "; + + } +?> \ No newline at end of file diff --git a/services.html b/services.html new file mode 100644 index 0000000..e3868c0 --- /dev/null +++ b/services.html @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Services + + + + + +
+ + + + + +

+ Services Provided + +

+
+
+ + + + + + + + + + + + + 0){ + while($row = mysqli_fetch_assoc($resultData)){ + ?> + + + + + + + + + + +
Service IDService NameService DescriptionSACProvider Firm NameAction
+ + + + + + + + + + +
+ + + +
+
+
+
+
+ + + \ No newline at end of file diff --git a/updateClient.php b/updateClient.php index ceb98db..f41ddf9 100644 --- a/updateClient.php +++ b/updateClient.php @@ -4,6 +4,8 @@ if(isset($_POST)){ $cId = $_POST['clientId']; + }else{ + echo "ERROR!!"; } $name = $_COOKIE['cname']; diff --git a/updateService.php b/updateService.php new file mode 100644 index 0000000..ec73992 --- /dev/null +++ b/updateService.php @@ -0,0 +1,25 @@ + \ No newline at end of file