@@ -141,6 +141,8 @@
+
+
\ No newline at end of file
diff --git a/src/app/_modules/auth/admin-home/admin-home.component.scss b/src/app/_modules/auth/admin-home/admin-home.component.scss
index e8c7b3f..c3aa901 100644
--- a/src/app/_modules/auth/admin-home/admin-home.component.scss
+++ b/src/app/_modules/auth/admin-home/admin-home.component.scss
@@ -66,14 +66,14 @@ td {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
- border: 1px solid #e3e3e3;
+ // border: 1px solid #e3e3e3;
width: 100%;
margin: auto;
padding: auto;
}
.header {
- padding: 20px;
+ // padding: 20px;
width: 100%;
min-width: 350px;
}
@@ -106,6 +106,8 @@ mat-card {
.top-right-float>button {
margin: 5px;
height: 40px;
+ margin-left: -70px;
+ margin-top: 7px;
}
mat-table {
@@ -113,22 +115,30 @@ mat-table {
width: 100%;
display: table;
overflow-x: scroll;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
.table-headers {
padding: 5px;
- color: #ffffff;
+ color: #353535;
font-weight: 900;
font-size: medium;
- background-color: #46AC9E;
+ background-color: #ececec;
+ font-family:nucleo;
+ text-align: center;
+
}
.table-headers:hover {
background-color: #ececec;
color:#46AC9E;
+
+
}
.table-content {
padding: 5px;
overflow-wrap: inherit;
+ font-family:nucleo;
+
}
.table-column {
@@ -153,15 +163,7 @@ input {
}
-// .dialog-body {
-// display: flex;
-// justify-content: center;
-// align-items: center;
-// div {
-// width: 90%;
-// }
-// }
.dialog-actions {
display: flex;
@@ -216,7 +218,7 @@ input {
@media (max-width: 767px) {
.card {
- min-width: 600px;
+ min-width: 900px;
}
}
@@ -226,5 +228,123 @@ input {
}
.mat-row:nth-child(odd){
- background-color: rgb(241, 241, 241);
+ background-color: rgb(248, 248, 248);
+}
+.viewButton{
+ padding: 0;
+ border-radius: 16px !important;
+ height: 32px !important;
+ // width: 68px !important;
+
+ float: center;
+ // margin-top: 5px;
+ // margin-bottom: 5px;
+ color: #424242;
+ background-color: white;
+ // height: 37px;
+ border-radius: 9px;
+ font-family: nucleo;
+ width: 8%;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ // margin-right: 5px;
+}
+
+.reportButton{
+ padding: 0;
+ // border-radius: 16px !important;
+ height: 32px !important;
+ // width: 68px !important;
+
+ float: center;
+ // margin-top: 5px;
+ // margin-bottom: 5px;
+ color: #424242;
+ // background-color: white;
+ // height: 37px;
+ // border-radius: 9px;
+ font-family: nucleo;
+ width: 8%;
+ // box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ // margin-right: 5px;
+}
+.editButton {
+
+ box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
+ // transform: translateY(5px);
+
+}
+
+.editButton:hover {
+ box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
+ /* You can adjust the shadow values to your preference */
+}
+
+.addButton{
+ padding: 0;
+ border-radius: 16px !important;
+ height: 35px !important;
+ // width: 68px !important;
+
+ float: center;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ color: #424242;
+ background-color: white;
+ // height: 37px;
+ border-radius: 9px;
+ font-family: nucleo;
+ width: 11%;
+ // box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ // margin-right: 5px;
}
+
+.addButton:hover{
+
+ background-color: #ebeaea ;
+ box-shadow: 0 2px rgb(129, 129, 129)a(0, 0, 0, 0.2);
+ // transform: translateY(5px);
+
+}
+
+
+.activeSpan{
+ background-color: #98eb98;
+ border-radius: 10px;
+ font-size: small;
+ color: #014d01;
+}
+
+.awaitSpan{
+ background-color: #b3c5ff;
+ border-radius: 10px;
+ font-size: small;
+ color: #213a8b;
+}
+
+.closedSpan{
+ background-color: #e3c096;
+ border-radius: 10px;
+ font-size: small;
+ color: #4d2a00;
+}
+.searchInputSpan{
+ background-color: #ececec;
+ border-radius: 45px;
+ width: 38vh;
+ height: 47px;
+
+}
+
+.backImage{
+ // position: fixed;
+ // left: 0;
+ // bottom: 0;
+ width: 100%;
+ // height:85%;
+ background-image: url('/assets/img/houstone_line1.jpg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 10px;
+ z-index: 1;
+}
\ No newline at end of file
diff --git a/src/app/_modules/auth/auth.module.ts b/src/app/_modules/auth/auth.module.ts
index 66eab5b..8518d2e 100644
--- a/src/app/_modules/auth/auth.module.ts
+++ b/src/app/_modules/auth/auth.module.ts
@@ -50,7 +50,8 @@ import { MatSortModule } from '@angular/material/sort';
MatFormFieldModule,
MatTableModule,
MatPaginatorModule,
- MatSortModule
+ MatSortModule,
+ ReactiveFormsModule.withConfig({warnOnNgModelWithFormControl: 'never'})
]
})
export class AuthModule { }
diff --git a/src/app/_modules/auth/forgot-password/forgot-password.component.html b/src/app/_modules/auth/forgot-password/forgot-password.component.html
index 30ab27d..9e0bd30 100644
--- a/src/app/_modules/auth/forgot-password/forgot-password.component.html
+++ b/src/app/_modules/auth/forgot-password/forgot-password.component.html
@@ -1,25 +1,58 @@
+
+
+
-
-
+
+
+
+
+
+
+ {{ 'forgotYourPass' | translate }}
+
+
+
+
+
+ 
+
+
+
+
+
+
+
+
+
- {{ 'resetPassword' | translate | uppercase }}
+
+
+
+ {{ 'forgotYourPass' | translate }}
+
+
+
+
+
@@ -64,17 +97,21 @@
-
+
+
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/src/app/_modules/auth/forgot-password/forgot-password.component.scss b/src/app/_modules/auth/forgot-password/forgot-password.component.scss
index 4f2714c..a0f11be 100644
--- a/src/app/_modules/auth/forgot-password/forgot-password.component.scss
+++ b/src/app/_modules/auth/forgot-password/forgot-password.component.scss
@@ -42,4 +42,109 @@
display: flex;
justify-content: center;
align-items: center;
- }
\ No newline at end of file
+ }
+
+ .sendOTP{
+ border: 1px solid #295754;
+ color: #ffffff;
+ background-color: #295754;
+ width: 100%;
+ border-radius: 30px;
+ height: 35px;
+ font-family: nucleo;
+
+ }
+
+ .sendOTP:hover{
+ background-color: #1c4441;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ }
+
+.backImg{
+ height: 70%;
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ background-image: url('/assets/img/houstone_line1.jpg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 10px;
+ z-index: 1;
+}
+.mainCard{
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
+ border-radius: 10px;
+ top:-70px;
+}
+
+.resetSpan{
+ font-family: texg;
+ color: #1e3d3b;
+ font-size: xx-large;
+ float: center;
+ margin-top: 15px;
+ // margin-left: 64px;
+}
+
+.verifyOtpButton{
+ border: 1px solid #295754;
+ color: #ffffff;
+ background-color: #295754;
+ width: 54%;
+ border-radius: 30px;
+ height: 35px;
+ font-family: nucleo;
+}
+
+.verifyOtpButton:hover{
+ background-color: #1c4441;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+}
+
+.resendOtpButton{
+ border: 1px solid #295754;
+ color: #295754;
+ background-color: #ffffff;
+ // width: 100%;
+ border-radius: 30px;
+ height: 35px;
+ font-family: nucleo;
+}
+
+.resendOtpButton:hover{
+ background-color: #ebebeb;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+}
+.changePassButton{
+ border: 1px solid #295754;
+ color: #ffffff;
+ background-color: #295754;
+ width: 100%;
+ border-radius: 30px;
+ height: 35px;
+ font-family: nucleo;
+}
+
+
+.changePassButton:hover{
+ background-color: #1c4441;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+}
+
+.forgotImage{
+ background-image: url('/assets/img/forgot.jpg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center;
+ height: 250px;
+ width: 250px;
+}
+
+@media screen and(max-width: 767px) {
+ .resetSpan {
+ font-size: large;
+
+ }
+}
\ No newline at end of file
diff --git a/src/app/_modules/auth/forgot-password/forgot-password.component.ts b/src/app/_modules/auth/forgot-password/forgot-password.component.ts
index 2e6004b..a4fd4d7 100644
--- a/src/app/_modules/auth/forgot-password/forgot-password.component.ts
+++ b/src/app/_modules/auth/forgot-password/forgot-password.component.ts
@@ -19,6 +19,8 @@ export class ForgotPasswordComponent implements OnInit {
user: AuthenticationDto = new AuthenticationDto();
+ forgotCard:boolean = false
+
config = {
allowNumbersOnly: true,
length: 6,
diff --git a/src/app/_modules/auth/login/login.component.html b/src/app/_modules/auth/login/login.component.html
index 146031f..66871a0 100644
--- a/src/app/_modules/auth/login/login.component.html
+++ b/src/app/_modules/auth/login/login.component.html
@@ -34,39 +34,54 @@
-
-
+
+
-
- {{ 'signIn' | translate | uppercase }}
+
+ {{ 'login.' | translate }}
-
+
+
\ No newline at end of file
diff --git a/src/app/_modules/auth/login/login.component.scss b/src/app/_modules/auth/login/login.component.scss
index ca2f0c5..3877d50 100644
--- a/src/app/_modules/auth/login/login.component.scss
+++ b/src/app/_modules/auth/login/login.component.scss
@@ -17,6 +17,12 @@
display: flex;
justify-content: center;
margin: 100px 0px;
+
+}
+
+.loginCard{
+ box-shadow: 0 18px 20px rgba(0, 0, 0,0.2) !important;
+ border-radius: 17px;
}
.mat-form-field {
@@ -68,4 +74,84 @@ mat-card-content {
left: 0;
bottom: 0;
width: 100%;
+ // background-color: aqua;
+ height: 70%;
+ background-image: url('/assets/img/houstone_line1.jpg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 10px;
+ z-index: 1;
+}
+
+@media (max-width: 767px) {
+.form{
+ width: 85% !important;
+}
+}
+.eye-icon{
+ cursor: pointer;
+}
+
+.c-wrapper {
+ position: relative;
+ z-index: 2; /* Set a higher z-index for the wrapper to overlay it over the footer */
+ margin: 0;
+ /* Add any other styling you want for the wrapper */
+}
+
+.loginSpan{
+ font-family: texg;
+ color: #1e3d3b;
+ font-size: xxx-large;
+ margin-left: 64px;
+
+}
+
+.forgotSpan{
+ font-size: small;
+ color: #234442;
+ text-decoration: auto;
+ cursor: pointer;
+ font-family: nucleo;
+
+}
+
+
+
+.signUpButton{
+ color: #ffffff;
+ background-color: #234442;
+ border-radius: 30px;
+ font-family: nucleo;
+ padding: 6px 20px 8px 19px;
+ cursor: pointer;
+}
+
+.signUpButton:hover{
+ background-color: #16312f;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+}
+
+.loginButton{
+ padding: 0;
+ border-radius: 16px !important;
+ height: 35px !important;
+ // width: 68px !important;
+ border: 1px solid #16312f;
+ float: center;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ color: #16312f;
+ background-color: white;
+ // height: 37px;
+ border-radius: 9px;
+ font-family: nucleo;
+ width: 100%;
+
+}
+
+.loginButton:hover{
+ background-color: #ebeaea ;
+ box-shadow: 0 2px rgb(129, 129, 129)a(0, 0, 0, 0.2);
}
\ No newline at end of file
diff --git a/src/app/_modules/auth/register/register.component.html b/src/app/_modules/auth/register/register.component.html
index 4b98617..b804ea6 100644
--- a/src/app/_modules/auth/register/register.component.html
+++ b/src/app/_modules/auth/register/register.component.html
@@ -1,3 +1,6 @@
+
+
+
-
-
+
+
-
- {{ 'register' | translate | uppercase }}
+
+ {{ 'register' | translate }}
-
+
-
+
{{ 'generateOtp' | translate }}
+ class="verifyOtpButton">{{ 'generateOtp' | translate }}
@@ -83,7 +86,7 @@
- {{ 'submit' |
+ {{ 'submit' |
translate }}
@@ -106,11 +109,11 @@
-
- {{ 'register' | translate | uppercase }}
+
+ {{ 'register' | translate }}
-
+
@@ -144,7 +147,7 @@
- {{ 'register' | translate}}
+ {{ 'save' | translate}}
@@ -167,4 +170,6 @@
- -->
\ No newline at end of file
+ -->
+
+
\ No newline at end of file
diff --git a/src/app/_modules/auth/register/register.component.scss b/src/app/_modules/auth/register/register.component.scss
index c511c0a..ecdb5c0 100644
--- a/src/app/_modules/auth/register/register.component.scss
+++ b/src/app/_modules/auth/register/register.component.scss
@@ -68,4 +68,71 @@
left: 0;
bottom: 0;
width: 100%;
+ }
+
+ .backImg{
+ height: 70%;
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ background-image: url('/assets/img/houstone_line1.jpg');
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 10px;
+ z-index: 1;
+ }
+
+ .registerCard{
+ box-shadow: 0 18px 20px rgba(0, 0, 0,0.2) !important;
+ border-radius: 17px;
+ }
+
+ .loginSpan{
+ font-family: texg;
+ color: #1e3d3b;
+ font-size: xxx-large;
+ margin-left: 16px;
+ }
+
+ .verifyOtpButton{
+ border: 1px solid #295754;
+ color: #ffffff;
+ background-color: #295754;
+ width: 60%;
+ border-radius: 30px;
+ height: 35px;
+ font-family: nucleo;
+ }
+
+ .verifyOtpButton:hover{
+ background-color: #1c4441;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ }
+
+ .saveButton{
+ border: 1px solid #295754;
+ color: #ffffff;
+ background-color: #295754;
+ width: 30%;
+ border-radius: 30px;
+ height: 35px;
+ font-family: nucleo;
+ }
+
+ .saveButton:hover{
+ background-color: #1c4441;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ }
+
+ .submitButton{
+ border: 1px solid #295754;
+ color: #234442;
+ background-color: #ffffff;
+ width: 50%;
+ border-radius: 30px;
+ height: 35px;
+ font-family: nucleo;
+
}
\ No newline at end of file
diff --git a/src/app/_modules/auth/register/register.component.ts b/src/app/_modules/auth/register/register.component.ts
index 9639fbd..d1ccd27 100644
--- a/src/app/_modules/auth/register/register.component.ts
+++ b/src/app/_modules/auth/register/register.component.ts
@@ -38,20 +38,22 @@ export class RegisterComponent implements OnInit {
}
sendOTP(template) {
- if (this.userDetails.email && this._uiService.emailValidation(this.userDetails.email)) {
- let body = { email: this.userDetails.email };
- this._masterService.saveAllMasterData(apiUrl.registerOtp, body).then(res => {
- this._uiService.toastMessage(this.errorTranslateService.translate("otpSendSuccessfully"));
-
- this.openDialogbox(template)
- },err=>{
- this._uiService.toastMessage((err.error.message) ? err.error.message : this.errorTranslateService.translate('errorInApi'));
-
- })
- }
- else {
- this._uiService.toastMessage(this.errorTranslateService.translate("enterAValidEmailID"));
- }
+ this.openDialogbox(template)
+
+ // if (this.userDetails.email && this._uiService.emailValidation(this.userDetails.email)) {
+ // let body = { email: this.userDetails.email };
+ // this._masterService.saveAllMasterData(apiUrl.registerOtp, body).then(res => {
+ // this._uiService.toastMessage(this.errorTranslateService.translate("otpSendSuccessfully"));
+
+ // this.openDialogbox(template)
+ // },err=>{
+ // this._uiService.toastMessage((err.error.message) ? err.error.message : this.errorTranslateService.translate('errorInApi'));
+
+ // })
+ // }
+ // else {
+ // this._uiService.toastMessage(this.errorTranslateService.translate("enterAValidEmailID"));
+ // }
}
openDialogbox(templateRef) {
diff --git a/src/app/_modules/auth/view/view.component.html b/src/app/_modules/auth/view/view.component.html
index e45426b..3c51289 100644
--- a/src/app/_modules/auth/view/view.component.html
+++ b/src/app/_modules/auth/view/view.component.html
@@ -39,11 +39,19 @@
-
+
- Tender Details
-
+ Tender Details
+
+
@@ -52,8 +60,8 @@
-
-
+
+
| Basic Details |
@@ -305,66 +313,70 @@
Tenders Documents |
-
+
+ 0">
- | Drawings Document |
+ Notice |
-
-
-
- | Drawings Download |
-
+
+ | Document Type |
+ Document Name |
+ Description |
+ Download |
-
-
- | {{document.description}} |
+
+ | {{document.documentTypeD.documentType}} |
+ {{document.docName}} |
+ {{document.description}} |
+ |
-
+
-
-
+ 0">
- | Work Item Documents |
+ Work Item Documents |
-
- | Document Type |
- Document Name |
+
+ | Document Type |
+ Document Name |
Description |
- | {{document.documentTypeD.documentType}} |
- {{document.docName}} |
+ {{document.documentTypeD.documentType}} |
+ {{document.docName}} |
{{document.description}} |
-
+
- | Download |
+ Download |
-
+
+ 0">
- | Notice |
+ Drawings Document |
-
- | Document Type |
- Document Name |
- Description |
-
-
- | {{document.documentTypeD.documentType}} |
- {{document.docName}} |
- {{document.description}} |
+
+
+
+ | Drawings Download |
+
-
-
- | Download |
-
+
+
+ | {{document.description}} |
+
+
+
@@ -379,7 +391,7 @@
-
+
| Document Type |
Description |
Document Format |
diff --git a/src/app/_modules/auth/view/view.component.scss b/src/app/_modules/auth/view/view.component.scss
index 9c09c2d..39dccc0 100644
--- a/src/app/_modules/auth/view/view.component.scss
+++ b/src/app/_modules/auth/view/view.component.scss
@@ -1,47 +1,204 @@
.container-fluid{
- width: 100%;
- padding-right: 15px;
- padding-left: 15px;
- margin-right: auto;
- margin-left: auto;
- top: 10px;
- position: relative;
- }
- .container-fluid2{
- width: 100%;
- padding-right: 15px;
- padding-left: 15px;
- margin-right: auto;
- margin-left: auto;
- top: -1px;
- position: relative;
+ width: 100%;
+ padding-right: 15px;
+ padding-left: 15px;
+ margin-right: auto;
+ margin-left: auto;
+ top: 10px;
+ position: relative;
+}
+.container-fluid2{
+ width: 100%;
+ padding-right: 15px;
+ padding-left: 15px;
+ margin-right: auto;
+ margin-left: auto;
+ top: -1px;
+ position: relative;
+}
+
+@media print {
+ .hide-on-print {
+ display: none;
}
+}
+
+
+
+
+.nav-link:hover {
+ color: rgb(255, 0, 0);
+}
+// #zipFile:hover {
+// color: rgb(255, 0, 0);
+// cursor: pointer;
+// }
+
+// .container-responsive {
+// min-height: 100vh;
+// position: relative;
+// }
+
+// #footer {
+// background-color: #3a8379;
+// padding: 20px;
+// color: #ffffff;
+// position: absolute;
+// bottom: 0;
+// width: 100%;
+// }
+// --------------------------------------------------------------------------------------------
+thead{
+ // background-color: #5faca1; color: aliceblue;
+ padding: 5px;
+ color: #505050;
+ font-weight: 900;
+ font-size: medium;
+ background-color: #f0f0f0;
+ font-family: nucleo;
+}
+
+mat-table {
+ padding-top: 10px !important;
+ // table-layout: fixed;
+ width: 100%;
+ display: table;
+ overflow-x: scroll;
- .table td {
- word-break: break-word;
+ .table-headers {
+ padding: 5px;
+ color: #505050;
+ font-weight: 900;
+ font-size: medium;
+ background-color: #f0f0f0;
+ font-family: nucleo;
}
- .nav-link:hover {
- color: rgb(255, 0, 0);
+
+ .table-headers:hover {
+ background-color: #ececec;
+ color: #46AC9E;
}
- #zipFile:hover {
- color: rgb(255, 0, 0);
- cursor: pointer;
+
+ .table-content {
+ padding: 5px;
+ overflow-wrap: inherit;
+ font-family: nucleo;
+
}
+
+ .table-column {
+ width: 100%;
+ }
+}
+
+.table td {
+ word-break: break-word;
+ padding: 5px;
+ overflow-wrap: inherit;
+ font-family: nucleo;
+}
+
+.table th {
+ font-family: texg;
+ color: #353535;
+}
+
+.tenderHeading{
+ font-family: texg;
+ color: #353535;
+}
+.printButton {
+ float: right;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: white;
+ color: #424242;
+ height: 37px;
+ border-radius: 9px;
+ font-family: nucleo;
+ // width: 17%;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+
- // .container-responsive {
- // min-height: 100vh;
- // position: relative;
- // }
+
+}
+
+.printButton:hover {
+ background-color: #ececec;
+ color: #46AC9E;
+}
+
+
+
+.DownloadZipButton {
+ float: right;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: white;
+ color: #424242;
+ height: 37px;
+ border-radius: 9px;
+ font-family: nucleo;
+ // width: 17%;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+
- // #footer {
- // background-color: #3a8379;
- // padding: 20px;
- // color: #ffffff;
- // position: absolute;
- // bottom: 0;
- // width: 100%;
- // }
+
+}
+.DownloadZipButton:hover {
+ background-color: #ececec;
+ color: #46AC9E;
+}
+
+.DownloadNoticeButton {
+ // float: right;
+ // margin-top: 5px;
+ // margin-bottom: 5px;
+ background-color: white;
+ // color: #424242;
+ color: #5faca1;
+ height: 37px;
+ border-radius: 9px;
+ font-family: nucleo;
+ // width: 17%;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
- thead{
- background-color:#48746e; color: aliceblue;
+
+
+
+}
+.DownloadNoticeButton:hover {
+ background-color: #ececec;
+ color: #303030;
+}
+
+@media screen and (max-width: 768px) {
+ /* Adjust font size for smaller screens */
+ .DownloadZipButton {
+ font-size: 14px;
+ }
+}
+
+@media screen and (max-width: 480px) {
+ /* Further adjustments for even smaller screens */
+ .DownloadZipButton {
+ font-size: 12px;
+ }
+}
+
+ @media print {
+
+
+ .hide-on-print {
+ display: none;
+ }
+
+ .some-element {
+ border: 1px solid black !important;
+ page-break-inside: avoid; /* Prevent element from breaking across pages */
+ }
+ }
+ .some-element {
+ border: 1px solid black !important;
+ page-break-inside: avoid; /* Prevent element from breaking across pages */
}
\ No newline at end of file
diff --git a/src/app/_modules/auth/view/view.component.ts b/src/app/_modules/auth/view/view.component.ts
index a10ffc9..26047d9 100644
--- a/src/app/_modules/auth/view/view.component.ts
+++ b/src/app/_modules/auth/view/view.component.ts
@@ -5,7 +5,7 @@ import { apiUrl } from 'src/app/_providers/_resources/api-url.properties';
import { ErrorTranslateService } from 'src/app/_providers/_services/error-translate.service';
import { MasterService } from 'src/app/_providers/_services/master.service';
import { UiService } from 'src/app/_providers/_services/ui.service';
-import { environment } from 'src/environments/environment';
+import { environment } from 'src/environments/environment.prod';
@Component({
selector: 'app-view',
@@ -44,6 +44,7 @@ getData(){
this.tenderData = res
this.tenderDocuments = this.tenderData['tenderDoc']
console.log("data",this.tenderDocuments);
+ this.filterDataByCategory();
})
}
@@ -68,6 +69,10 @@ filterDataByCategory() {
window.location.href = 'https://www.thrickodithanamscb.in/index.html#contact';
}
+ print(): void {
+ window.print();
+ }
+
DownloadDrawingsZIP(){
const id = this.tenderId;
this._masterService.getMasterDatabyId(apiUrl.drawingsDownloadDocs,id).then((res)=>{
@@ -99,13 +104,42 @@ filterDataByCategory() {
})
}
- DownloadNIT(){
+ DownloadNIT(index: number) {
const id = this.tenderId;
- this._masterService.getMasterDatabyId(apiUrl.noticeDownlaod,id).then((res)=>{
-
- })
+ console.log(index);
+ console.log(this.nitItemDocuments[index].docName);
+
+
+ this._masterService.getMasterDatabyId(apiUrl.noticeDownlaod, `${this.tenderId}/${this.nitItemDocuments[index].docName}`).then((res) => {
+
+ } , err => {
+ console.log('res===>', err);
+ if (err.status == 200) {
+ console.log('start >>>');
+ // window.open(`${environment.apiUrl}/${apiUrl.bankDocs}/${id}`);
+ let newWindow = window.open(`${environment.apiUrl}/${apiUrl.noticeDownlaod}/${this.tenderId}/${this.nitItemDocuments[index].docName}`);
+ // setTimeout(() => {
+ // newWindow.close();
+ // }, 10000);
+ }
+ if (err.status == 404) {
+ alert('No Notice Document Found for the selected Tender.');
+ }
+ if (err.status == 500) {
+ alert(`${err.message}`);
+ }
+ else {
+ //alert(`An error Occured`);
+ // let newWindow = window.open(`${environment.apiUrl}/${apiUrl.noticeDownlaod}/${id}`);
+ // setTimeout(() => {
+ // newWindow.close();
+ // }, 100);
+ }
+
+ })
}
+
// downloadWITZip() {
// console.log('clicked');
diff --git a/src/app/_modules/dashboard/add-tenders/add-tenders.component.html b/src/app/_modules/dashboard/add-tenders/add-tenders.component.html
index 61dced4..d561754 100644
--- a/src/app/_modules/dashboard/add-tenders/add-tenders.component.html
+++ b/src/app/_modules/dashboard/add-tenders/add-tenders.component.html
@@ -3,7 +3,7 @@
- Tender Details
+ Tender Details
|