add translate in IC

MOHEMM-SFH-COLORS
enadhilal 5 years ago
parent 385c5c0d73
commit 5619ad7ba8

@ -50,207 +50,141 @@
<ion-row>
<ion-col>
<ion-grid style="text-align: left">
<!-- <ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for=""> {{ts.trPK('worklistMain','description')}}
</label>
<br />
<label for=""> {{ts.trPK('worklistMain','des-PO')}} {{PO_NUMBER}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for=""> {{ts.trPK('worklistMain','from')}}
</label>
<br />
<label for="">{{getPassNotificationDetails.FROM_USER}}</label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">{{ts.trPK('worklistMain','to')}}
</label>
<br />
<label for=""> {{getPassNotificationDetails.TO_USER}}</label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">{{ts.trPK('worklistMain','sent')}}
</label>
<br />
<label for="">{{getPassNotificationDetails.BEGIN_DATE}}</label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">{{ts.trPK('worklistMain','closed')}}
</label>
<br />
<label for="">{{getPassNotificationDetails.END_DATE}}</label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">{{ts.trPK('worklistMain','id')}}
</label>
<br />
<label for="">{{getPassNotificationDetails.NOTIFICATION_ID}}</label>
</ion-col>
</ion-row>
<ion-row class="rowBorder" *ngIf=" getPassNotificationDetails.RESPONDER != '' ">
<ion-col class="">
<label class="colItemReq" for="">{{ts.trPK('worklistMain','responder')}}
</label>
<br />
<label for="">{{getPassNotificationDetails.RESPONDER}} </label>
</ion-col>
</ion-row> -->
<div>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Product Name</label>
<label class="colItemReq" for="">{{'worklist, product-name'| translate}}</label>
<br />
<label for="">{{header.PRODUCT_NAME}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Product Description</label>
<label class="colItemReq" for="">{{'worklist, product-description'| translate}}</label>
<br />
<label for="">{{header.PRODUCT_DESCRIPTION}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col size="6" [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Unit Price</label>
<label class="colItemReq" for="">{{'worklist, Unit-price'| translate}}</label>
<br />
<label for="">{{header.UNIT_PRICE}} </label>
</ion-col>
<ion-col size="6">
<label class="colItemReq" for="">Manufacturer Name</label>
<label class="colItemReq" for="">{{'worklist, manufacturer-name'| translate}}</label>
<br />
<label for="">{{header.USER_MANUFACTURER_NAME}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Manufacturer Part Number</label>
<label class="colItemReq" for="">{{'worklist, manufacturer-part-number'| translate}}</label>
<br />
<label for="">{{header.USER_MFG_PART_NUM}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Supplier Name</label>
<label class="colItemReq" for="">{{'worklist, supplier-name'| translate}}</label>
<br />
<label for="">{{header.SUPPLIER_NAME}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Supplier Contact</label>
<label class="colItemReq" for="">{{'worklist, supplier-contact'| translate}}</label>
<br />
<label for="">{{header.SUPPLIER_CONTACT}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Charge to Patient</label>
<label class="colItemReq" for="">{{'worklist, charge-to-patient'| translate}}</label>
<br />
<label for="">{{header.CHARGE_TO_PATIENT}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Justification</label>
<label class="colItemReq" for="">{{'worklist, justification'| translate}}</label>
<br />
<label for="">{{header.JUSTIFICATION}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Item Code</label>
<label class="colItemReq" for="">{{'worklist, item-code'| translate}}</label>
<br />
<label for="">{{header.ITEM_CODE}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Item Description</label>
<label class="colItemReq" for="">{{'worklist, item-description'| translate}}</label>
<br />
<label for="">{{header.ITEM_DESCRIPTION}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Group Code</label>
<label class="colItemReq" for="">{{'worklist, group-code'| translate}}</label>
<br />
<label for="">{{header.ITEM_GROUP_CODE}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Group Description</label>
<label class="colItemReq" for="">{{'worklist, group-description'| translate}}</label>
<br />
<label for="">{{header.ITEM_GROUP}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Subgroup Code</label>
<label class="colItemReq" for="">{{'worklist, subgroup-code'| translate}}</label>
<br />
<label for="">{{header.ITEM_SUBGROUP_CODE}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Subgroup Description</label>
<label class="colItemReq" for="">{{'worklist, subgroup-description'| translate}}</label>
<br />
<label for="">{{header.ITEM_SUBGROUP}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Primary UOM</label>
<label class="colItemReq" for="">{{'worklist, primary-uom'| translate}}</label>
<br />
<label for="">{{header.PRIMARY_UOM}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Manufacturer Name</label>
<label class="colItemReq" for="">{{'worklist, manufacturer-name'| translate}}</label>
<br />
<label for="">{{header.STANDARD_MANUFACTURER_NAME}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Manufacturer Part Number</label>
<label class="colItemReq" for="">{{'worklist, manufacturer-part-number'| translate}}</label>
<br />
<label for="">{{header.STANDARD_MFG_PART_NUM}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Template Name</label>
<label class="colItemReq" for="">{{'worklist, template-name'| translate}}</label>
<br />
<label for="">{{header.TEMPLATE_NAME}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Item Creation Status</label>
<label class="colItemReq" for="">{{'worklist, item-creation-status'| translate}}</label>
<br />
<label for="">{{header.ITEM_CREATION_STATUS_DISP}} </label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Standardization Approval Status</label>
<label class="colItemReq" for="">{{'worklist, standardization-approval-status'| translate}}</label>
<br />
<label for="">{{header.STANDARD_STATUS}} </label>
</ion-col>
<ion-col>
<label class="colItemReq" for="">Standardization Approval Rejection Reason</label>
<label class="colItemReq" for="">{{'worklist, standardization-approval-rejection-reason'| translate}}</label>
<br />
<label for="">{{header.STANDARD_REJECT_REASON}} </label>
</ion-col>
</ion-row>
</div>
<br />
<!-- <ion-grid>
<div>
<ion-row style="text-align: center !important">
<ion-col *ngIf="totalH">
<div class="colItemReq" style="text-align: center !important">{{totalH}}
</div>
<div class="labelTotal">{{valueH}}</div>
</ion-col>
<ion-col *ngIf="taxH ">
<div class="colItemReq" style="text-align: center !important">{{taxH}}
</div>
<div class="labelTotal">{{taxvalueH}}</div>
</ion-col>
</ion-row>
</div>
</ion-grid> -->
</ion-grid>
<button ion-button *ngIf="!IsReachEnd" class="itemHISBtn" (click)="loadMoreNotificationBody()">
{{ 'general, load-more' | translate}}
@ -382,12 +316,12 @@
<ion-card-content>
<ion-row class="rowBorder">
<ion-col class="colItems" [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Operating Unit</label>
<label class="colItemReq" for="">{{'worklist, operating-unit'| translate}}</label>
<br />
<ion-label class="labelValue" for="">{{Lines.OPERATING_UNIT}} </ion-label>
</ion-col>
<ion-col class="colItems ">
<label class="colItemReq" for="">Category
<label class="colItemReq" for="">{{'worklist, category'| translate}}
</label>
<br />
<ion-label class="labelValue" for="">{{Lines.CATEGORY}}</ion-label>
@ -395,39 +329,39 @@
</ion-row>
<ion-row class="rowBorder">
<ion-col class="colItems " [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Requester
<label class="colItemReq" for="">{{'worklist, requester'| translate}}
</label>
<br />
<ion-label class="labelValue" for="">{{Lines.REQUESTER}} </ion-label>
</ion-col>
<ion-col class="colItems">
<label class="colItemReq" for="">Analyzed By</label>
<label class="colItemReq" for="">{{'worklist, analyzed-by'| translate}}</label>
<br />
<ion-label class="labelValue" for="">{{Lines.ANALYZED_BY}} </ion-label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col class="colItems" [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Approved Date
<label class="colItemReq" for="">{{'worklist, approved-date'| translate}}
</label>
<br />
<ion-label class="labelValue" for="">{{Lines.APPROVED_DATE}} </ion-label>
</ion-col>
<ion-col class="colItems">
<label class="colItemReq" for="">Item Type</label>
<label class="colItemReq" for="">{{'worklist, item-type'| translate}}</label>
<br />
<ion-label class="labelValue" for="">{{Lines.ITEM_TYPE}} </ion-label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col class="colItems" [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Related To
<label class="colItemReq" for="">{{'worklist, related-to'| translate}}
</label>
<br />
<ion-label class="labelValue" for="">{{Lines.RELATED_TO}} </ion-label>
</ion-col>
<ion-col class="colItems">
<label class="colItemReq" for="">Request Date</label>
<label class="colItemReq" for="">{{'worklist, request-date'| translate}}</label>
<br />
<ion-label class="labelValue" for="">{{Lines.REQUEST_DATE| date}}
</ion-label>
@ -435,58 +369,16 @@
</ion-row>
<ion-row class="rowBorder">
<ion-col class="colItems" [ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">Analyzed Date</label>
<label class="colItemReq" for="">{{'worklist, analyzed-date'| translate}}</label>
<br />
<ion-label class="labelValue" for="">{{Lines.ANALYZED_DATE| date}} </ion-label>
</ion-col>
<ion-col class="colItems">
<label class="colItemReq" for="">Urgent</label>
<label class="colItemReq" for="">{{'worklist, urgent'| translate}}</label>
<br />
<ion-label class="labelValue" for="">{{Lines.URGENT_FLAG_DISP}} </ion-label>
</ion-col>
</ion-row>
<!-- <ion-row class="rowBorder">
<ion-col class="colItems"
[ngClass]=" direction === 'en' ? 'colBorder' :'colBorder-ar' ">
<label class="colItemReq" for="">{{ts.trPK('worklistMain','DELIVER_TO')}}
</label>
<br />
<ion-label class="labelValue" for="">{{Lines.DELIVER_TO_LOCATION}}
</ion-label>
</ion-col>
<ion-col class="colItems">
<label class="colItemReq" for="">{{ts.trPK('worklistMain','PR_NO')}}
</label>
<br />
<ion-label class="labelValue" for="">{{Lines.PR_NUM}} </ion-label>
</ion-col>
</ion-row>
<ion-row class="rowBorder">
<ion-col class="colItems ">
<label class="colItemReq" for="">{{ts.trPK('worklistMain','REQUEST')}}
</label>
<br />
<ion-label class="labelValue" for="">{{Lines.REQUESTOR}} </ion-label>
</ion-col>
</ion-row> -->
<!-- <ion-row>
<ion-col>
<div style="text-align: center">
<button ion-button class="itemHISBtn"
(click)="getItemHistory(Lines.ITEM_ID)">
{{ts.trPK('worklistMain','ITEM_HIS')}}
</button>
</div>
</ion-col>
<ion-col>
<div style="text-align: center">
<button ion-button class="itemHISBtn"
(click)="getQutationAnalysis(Lines.PO_HEADER_ID ,Lines.ITEM_ID)">
{{ts.trPK('worklistMain','QUOTATION_ANALYSIS')}}
</button>
</div>
</ion-col>
</ion-row> -->
</ion-card-content>
</ion-card>
</div>

@ -2036,6 +2036,122 @@
"empty-comment": {
"en": "you shoud add comment",
"ar": "يجب عليك اضافة تعليق"
},
"product-name":{
"en":"Product Name",
"ar":"اسم المنتج"
},
"product-description":{
"en":"Product Description",
"ar":"وصف للمنتج"
},
"Unit-price":{
"en":"Unit Price",
"ar":"سعر الوحدة"
},
"manufacturer-name":{
"en":"Manufacturer Name",
"ar":"اسم المصنع"
},
"manufacturer-part-number":{
"en":"Manufacturer Part Number",
"ar":"رقم قطعة المصنع"
},
"supplier-name":{
"en":"Supplier Name",
"ar":"اسم المورد"
},
"supplier-contact":{
"en":"Supplier Contact",
"ar":"عقد المورد"
},
"charge-to-patient":{
"en":"Charge to Patient",
"ar":"رسوم على المرضى"
},
"justification":{
"en":"Justification",
"ar":"تبرير"
},
"item-code":{
"en":"Item Code",
"ar":"رمز الصنف"
},
"item-description":{
"en":"Item Description",
"ar":"وصف الصنف"
},
"group-code":{
"en":"Group Code",
"ar":"رمز المجموعة"
},
"group-description":{
"en":"Group Description",
"ar":"وصف المجموعة"
},
"subgroup-code":{
"en":"Subgroup Code",
"ar":"رمز المجموعة الفرعية"
},
"subgroup-description":{
"en":"Subgroup Description",
"ar":"وصف المجموعة الفرعية"
},
"primary-uom":{
"en":"Primary UOM",
"ar":"Primary UOM"
},
"template-name":{
"en":"Template Name",
"ar":"اسم القالب"
},
"item-creation-status":{
"en":"Item Creation Status",
"ar":"حالة انشاء العنصر"
},
"standardization-approval-status":{
"en":"Standardization Approval Status",
"ar":"حالةالموافقة على المعايرة"
},
"standardization-approval-rejection-reason":{
"en":"Standardization Approval Rejection Reason",
"ar":"سبب رفض الموافقة على المعايرة"
},
"category":{
"en":"Category",
"ar":"فئة"
},
"requester":{
"en":"Requester",
"ar":"مقدم الطلب"
},
"analyzed-by":{
"en":"Analyzed By",
"ar":"تحليل بواسطة"
},
"approved-date":{
"en":"Approved Date",
"ar":"تاريخ الموافقة"
},
"item-type":{
"en":"Item Type",
"ar":"نوع الصنف"
},
"related-to":{
"en":"Related To",
"ar":""
},
"request-date":{
"en":"Request Date",
"ar":"متعلق بـ"
},
"analyzed-date":{
"en":"Analyzed Date",
"ar":"تاريخ التحليل"
},
"urgent":{
"en":"Urgent",
"ar":"عاجل"
}
},
"worklistMain": {

Loading…
Cancel
Save