Hima hace 5 años
padre
commit
a1f4ca8af2

+ 8 - 0
src/app/External-Page/external-page-header/external-page-header.component.css

@@ -744,6 +744,14 @@ input,button {
 
    
 }
+a.dropdown-item.ng-star-inserted {
+    width: 100% !important;
+}
+
+.pagesHeader-w[_ngcontent-c5] .dropdown-menu[_ngcontent-c5] {
+    top: 30px !important;
+  
+}
 
 @media(min-width: 992px) and (max-width: 1199px) {
 

+ 5 - 5
src/app/dashboard/create-report/add-new-report/add-new-report.component.html

@@ -54,8 +54,8 @@
                   </div>
                   <div class="col-12 col-md-4">
                     <div class="form-group">
-                      <label for="phone" style="float:right">الهاتف<span class="spanReqired-w">*</span></label>
-                      <input type="phone" class="form-control" id="phone" [ngModel]="reportAuthor.phone" [ngModelOptions]="{standalone: true}" [disabled]="true"/>
+                      <label for="phone" style="float:right">رقم الجوال<span class="spanReqired-w">*</span></label>
+                      <input type="phone" class="form-control" id="phone" [ngModel]="reportAuthor.phone" [ngModelOptions]="{standalone: true}"/>
                     </div>
                   </div>
                 </div>
@@ -82,8 +82,8 @@
                     </div>
                     <div class="col-12 col-sm-12 col-md-4 col-lg-4">
                       <div class="form-group">
-                        <label for="phoneNum"  style="float: right;margin-right: 5px"> الهاتف </label>
-                        <input type="number" placeholNeedder=" الهاتف" class="form-control" name="phoneNum" [ngModel]="dataForm.phoneNum" [disabled]="true" required/>
+                        <label for="phoneNum"  style="float: right;margin-right: 5px"> رقم الجوال </label>
+                        <input type="number" placeholNeedder=" " class="form-control" name="phoneNum" [ngModel]="dataForm.phoneNum"  required/>
                       </div>  
                   </div>
                   <div class="col-12 col-sm-12 col-md-4 col-lg-4">
@@ -207,7 +207,7 @@
                       <thead class="headBackground-w">
                         <tr>
                           <th> إسم المرفق</th>
-                          <th>رفع املف ( بصيغه pdf )</th>
+                          <th>رفع الملف ( بصيغه pdf )</th>
                           <!-- <th>عرض الملف</th> -->
                           <th>حذف</th>
                         </tr>

+ 4 - 3
src/app/dashboard/create-report/add-new-report/add-new-report.component.ts

@@ -114,7 +114,8 @@ export class AddNewReportComponent implements OnInit {
     this.currentDate = this.authService.writeHijri(new Date(this.currentDate), 'en', 'system');
 
 
-
+  
+    
     
 
     const nowHigriDate = this.currentDate.split(' ');
@@ -129,13 +130,13 @@ export class AddNewReportComponent implements OnInit {
         nowHigriDate[0] = i + 1;
       }
     }
-
+    
     this.bindingDateSplitStart = {
       year:parseInt(nowHigriDate[2]),
       month: parseInt(nowHigriDate[0]),
       day: parseInt(nowHigriDate[1]),
     }
-
+    this.bindingDateSplitStart.day -= 1;
     console.log('hhhhhhhhhhhhhhhhhhhh', this.bindingDateSplitStart);