| | |
| | | //table css |
| | | import { loadStyle } from "lightning/platformResourceLoader"; |
| | | import WrappedHeaderTable from "@salesforce/resourceUrl/lexdatatable"; |
| | | import LexConInvoiceViewReport from '@salesforce/label/c.LexConInvoiceViewReport'; |
| | | |
| | | const hospitalColumns = [ |
| | | { |
| | |
| | | }, |
| | | }, |
| | | ] |
| | | const customLabel = { |
| | | LexConInvoiceViewReport |
| | | } |
| | | export default class LexConInvoiceView extends NavigationMixin(LightningElement) { |
| | | |
| | | @track label=customLabel; |
| | | invoiceColumns = invoiceColumns; |
| | | detailsColumns = detailsColumns; |
| | | @track outboundColumns = [ |
| | |
| | | |
| | | openReportJs() { |
| | | console.log("openReportJs"); |
| | | //let url = "/report/00O100000058VzB?fv1=" + this.OrderCode; |
| | | let reportUrl = this.label.LexConInvoiceViewReport; |
| | | let reportFilters = '[{"operator":"equals","value":"' + this.OrderCode + '","column":"FK_NAME"}]'; |
| | | let url = "/report/00O0l000000zaGcEAI?reportFilters=" + encodeURIComponent(reportFilters); |
| | | console.log('reportUrl = ' + reportUrl); |
| | | let url = "/report/"+ reportUrl +"?reportFilters=" + encodeURIComponent(reportFilters); |
| | | this[NavigationMixin.Navigate]({ |
| | | type: "standard__webPage", |
| | | attributes: { |