Commit 19a05923 authored by ari_darmawan's avatar ari_darmawan

Merge branch 'update-feature-v2' into development

# Conflicts:
#	src/app/admin/admin-dashboard/admin-dashboard-report/admin-dashboard-report.component.html
#	src/app/admin/admin-dashboard/admin-dashboard-report/admin-dashboard-report.component.ts
#	src/assets/configAPI.json
parents 910293e9 a6f8d10a
...@@ -17,23 +17,110 @@ ...@@ -17,23 +17,110 @@
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
<th>Ticket Numb</th> <!-- <ng-container > -->
<th>Title</th> <th *ngFor="let data of fieldExportReport; let i = index">
<th>Created Date</th> <div class="form-check">
<th>Cust Type</th> <input type="checkbox" class="form-check-input" [checked]="data['value']" id="exampleCheck1" (change)="onChangeFieldReport(i, $event)">
<th>Cust Name</th> <label class="form-check-label" for="exampleCheck1">{{data['field']}}</label>
<th>Identity Type</th> </div>
<th>Identity Numb</th> </th>
<th>Mobile Phone 1</th> <!-- </ng-container> -->
<th>Mobile Phone 2</th> <!-- <th>
<th>E-mail</th> <div class="form-check">
<th>Penyebab Pengaduan</th> <input type="checkbox" class="form-check-input" id="exampleCheck1">
<th>Topic</th> <label class="form-check-label" for="exampleCheck1">Title</label>
<th>Sub Topic</th> </div>
<th>Description</th> </th>
<th>Status</th> <th>
<th>Resolved</th> <div class="form-check">
<th>Day Resolve</th> <input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Created Date</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Cust Type</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Cust Name</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Identity Type</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Identity Numb</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Mobile Phone 1</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Mobile Phone 2</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">E-mail</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Penyebab Pengaduan</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Topic</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Sub Topic</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Description</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Status</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Resolved</label>
</div>
</th>
<th>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Day Resolve</label>
</div>
</th> -->
</tr> </tr>
</thead> </thead>
<!-- [ngStyle]="{'background-color': (i%2 == 0)? '#ccc' : '#fff'}" --> <!-- [ngStyle]="{'background-color': (i%2 == 0)? '#ccc' : '#fff'}" -->
...@@ -43,9 +130,13 @@ ...@@ -43,9 +130,13 @@
<td>{{((i+1) + ((TicketReportRequest.perpage * TicketReportRequest.page) - TicketReportRequest.perpage))}}.</td> <td>{{((i+1) + ((TicketReportRequest.perpage * TicketReportRequest.page) - TicketReportRequest.perpage))}}.</td>
<td>{{data.ticket_no}}</td> <td>{{data.ticket_no}}</td>
<td>{{data.ticket_title}}</td> <td>{{data.ticket_title}}</td>
<td>{{data.ticket_created_time | date: 'dd MMMM yyyy HH:mm:ss'}}</td> <td>{{data.ticket_created_time | date: 'dd MMMM yyyy HH:mm'}}</td>
<td>team_name</td>
<td>{{data.customer_type}}</td> <td>{{data.customer_type}}</td>
<td>{{data.customer_name}}</td> <td>{{data.customer_name}}</td>
<td>{{customer_birth_date}}</td>
<td>{{customer_mother_name}}</td>
<td>{{customer_address}}</td>
<td>{{data.customer_type_id}}</td> <td>{{data.customer_type_id}}</td>
<td>{{data.customer_id_number}}</td> <td>{{data.customer_id_number}}</td>
<td>{{data.customer_mobile_phone}}</td> <td>{{data.customer_mobile_phone}}</td>
...@@ -60,7 +151,9 @@ ...@@ -60,7 +151,9 @@
( Defect ) ( Defect )
</div> </div>
</td> </td>
<td>{{data.ticket_resolved_date | date: 'dd MMMM yyyy HH:mm:ss'}}</td> <td>{{data.ticket_resolved_date | date: 'dd MMMM yyyy HH:mm'}}</td>
<td>{{start_date | date: 'dd MMMM yyyy HH:mm'}}</td>
<td>{{resolution_date | date: 'dd MMMM yyyy HH:mm'}}</td>
<td>{{data.ticket_total_days_resolved}}</td> <td>{{data.ticket_total_days_resolved}}</td>
</tr> </tr>
</ng-container> </ng-container>
......
...@@ -7,7 +7,7 @@ import { FormBuilder, FormGroup } from '@angular/forms'; ...@@ -7,7 +7,7 @@ import { FormBuilder, FormGroup } from '@angular/forms';
import { DashboardService } from '../../../../shared/serviceproxy/service-proxy.service'; import { DashboardService } from '../../../../shared/serviceproxy/service-proxy.service';
import { ServiceProxyWeb } from '../../../../shared/serviceproxy/service-proxy.service'; import { ServiceProxyWeb } from '../../../../shared/serviceproxy/service-proxy.service';
import { Router } from '@angular/router'; import { Data, Router } from '@angular/router';
import { ChangeDetectorRef } from '@angular/core'; import { ChangeDetectorRef } from '@angular/core';
...@@ -37,15 +37,31 @@ export class AdminDashboardReportComponent implements OnInit { ...@@ -37,15 +37,31 @@ export class AdminDashboardReportComponent implements OnInit {
Count : 0 Count : 0
} }
fieldExportReport: any[] = [
public TicketReportRequest = { {name: 'ticket_no', value: false, field: "Ticket No"},
page : 1, {name: 'ticket_title', value: false, field: "Title"},
perpage : 10, {name: 'ticket_created_time', value: false, field: "Created Date"},
user_id : null, {name: 'team_name', value: false, field: "Team Name"},
start_date : null, {name: 'customer_type', value: false, field: "Customer Type"},
end_date : null, {name: 'customer_name', value: false, field: "Customer Name"},
servicefamily_id : null {name: 'customer_birth_date', value: false, field: "Customer Birth Date"},
} {name: 'customer_mother_name', value: false, field: "Customer Mother Name"},
{name: 'customer_address', value: false, field: "Customer Address"},
{name: 'customer_type_id', value: false, field: "Identitiy Type"},
{name: 'customer_id_number', value: false, field: "Identity No"},
{name: 'customer_mobile_phone', value: false, field: "Mobile Phone 1"},
{name: 'customer_mobile_phone2', value: false, field: "Mobile Phone 2"},
{name: 'customer_email', value: false, field: "Email"},
{name: 'penyebab_pengaduan', value: false, field: "Penyebab Pengaduan"},
{name: 'ticket_service_name', value: false, field: "Topic"},
{name: 'ticket_servicesubcategory_name', value: false, field: "Sub Topic"},
{name: 'ticket_description', value: false, field: "Description"},
{name: 'ticket_status', value: false, field: "Status"},
{name: 'ticket_resolved_date', value: false, field: "Resolved Date"},
{name: 'start_date', value: false, field: "Start Date"},
{name: 'resolution_date', value: false, field: "Resolution Date"},
{name: 'ticket_total_days_resolved', value: false, field: "Day Resolve"}
]
public TicketReportData = undefined public TicketReportData = undefined
public ListDataPagingReport = {count : 0} public ListDataPagingReport = {count : 0}
...@@ -60,6 +76,15 @@ export class AdminDashboardReportComponent implements OnInit { ...@@ -60,6 +76,15 @@ export class AdminDashboardReportComponent implements OnInit {
//String variable for information paging //String variable for information paging
public PagingDisplay = ""; public PagingDisplay = "";
public TicketReportRequest = {
page : 1,
perpage : 8,
user_id : null,
start_date : null,
end_date : null,
servicefamily_id : null,
field_export: null
}
constructor(injector: Injector, constructor(injector: Injector,
private _cRef: ChangeDetectorRef, private _cRef: ChangeDetectorRef,
...@@ -84,6 +109,11 @@ export class AdminDashboardReportComponent implements OnInit { ...@@ -84,6 +109,11 @@ export class AdminDashboardReportComponent implements OnInit {
// this.GettingTicketReportDataAPI(this.TicketReportRequest) // this.GettingTicketReportDataAPI(this.TicketReportRequest)
} }
onChangeFieldReport(i: number, evt: any) {
console.log(evt.target.checked)
this.fieldExportReport[i]['value'] = evt.target.checked;
}
requestAPI() { requestAPI() {
this.GettingTicketReportDataAPI(this.TicketReportRequest) this.GettingTicketReportDataAPI(this.TicketReportRequest)
this.isDisabledButtonSearch = true; this.isDisabledButtonSearch = true;
...@@ -101,7 +131,8 @@ export class AdminDashboardReportComponent implements OnInit { ...@@ -101,7 +131,8 @@ export class AdminDashboardReportComponent implements OnInit {
start_date : this.TicketReportRequest.start_date, start_date : this.TicketReportRequest.start_date,
end_date : this.TicketReportRequest.end_date, end_date : this.TicketReportRequest.end_date,
servicefamily_id : this.ModelReportCategory.ID, servicefamily_id : this.ModelReportCategory.ID,
servicefamily_name : this.ModelReportCategory.Name servicefamily_name : this.ModelReportCategory.Name,
field_export: this.fieldExportReport
}) })
} }
...@@ -163,7 +194,6 @@ export class AdminDashboardReportComponent implements OnInit { ...@@ -163,7 +194,6 @@ export class AdminDashboardReportComponent implements OnInit {
} }
GettingExcelForReportDataAPI(_Request){ GettingExcelForReportDataAPI(_Request){
console.log("Request Ticket Report", JSON.stringify(_Request))
AratakaConfig.LoadingPage.showLoading('Please wait.., perparing excel.') AratakaConfig.LoadingPage.showLoading('Please wait.., perparing excel.')
this.Subscribtion = this._DashboardService.downloadFileExcelReport(_Request) this.Subscribtion = this._DashboardService.downloadFileExcelReport(_Request)
.subscribe((result: any) => { .subscribe((result: any) => {
......
...@@ -127,7 +127,7 @@ export class AdminDashboardComponent implements OnInit { ...@@ -127,7 +127,7 @@ export class AdminDashboardComponent implements OnInit {
//this.GettingMetabaseDataAPI() //this.GettingMetabaseDataAPI()
var StartD= new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate()); var StartD= new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate());
StartD.setMonth(StartD.getMonth() -3) StartD.setMonth(StartD.getMonth() -6)
var EndD = new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate()); var EndD = new Date(new Date().getFullYear(), new Date().getMonth(), new Date().getDate());
......
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
margin-right: 7px; margin-right: 7px;
} }
.input-information {
width: 100%;
height: 30px;
}
.custom-minus-date:hover{ .custom-minus-date:hover{
background: #D50000; background: #D50000;
border: 1px solid #D50000; border: 1px solid #D50000;
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
</div> </div>
<div class="modal fade" id="SelectCustomer-MD" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal fade" id="SelectCustomer-MD" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-md" role="document"> <div class="modal-dialog modal-lg" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<p class="modal-title"> <p class="modal-title">
......
<div class="row"> <div class="row">
<div class="col-12">
<div class="col-6">
<div class="form-group" *ngIf="CustomerType != ''" > <div class="form-group" *ngIf="CustomerType != ''" >
<label><small>Customer Type <span class="text-danger">*</span></small></label> <label><small>Customer Type <span class="text-danger">*</span></small></label>
<select type="text" <select type="text"
...@@ -132,24 +133,88 @@ ...@@ -132,24 +133,88 @@
class="form-control form-control-sm" style="resize: none" [(ngModel)]="Address"></textarea> class="form-control form-control-sm" style="resize: none" [(ngModel)]="Address"></textarea>
</div> </div>
</div> </div>
<ng-container *ngIf="CustomerType != ''">
<div class="col-4"> <div class="col-6" *ngIf="isTicketHistoryEmpty">
<button class="btn btn-sm btn-block btn-danger" style="border-radius: 3px" (click)="CancelClick()"><i class="fas fa-times"></i> Cancel</button> <p><b>Ticket History</b></p>
<p style="font-size:18px;" class="text-muted text-center">
<i class="fas fa-table fa-3x"></i>
<br> Empty Data
</p>
</div>
<div class="col-6" *ngIf="isLoadingTicketHistory">
<p><b>Ticket History</b></p>
<p style="font-size:18px;" class="text-muted text-center">
<i class="fas fa-spinner fa-spin"></i>
Retrieving data
</p>
</div>
<div class="col-6" *ngIf="!isTicketHistoryEmpty && !isLoadingTicketHistory">
<p><b>{{FirstName}} {{LastName}}'s Ticket History</b></p>
<div class="card">
<div class="card-body" style="max-height: 440px;overflow-y: scroll;">
<ng-container *ngFor="let data of listTicketHistory">
<p class="m-1">
<a href="javascript:;" target="_blank" class="text-info">
{{data.ref}}
</a>
</p>
<span *ngIf="data.status == 'rejected'" class='badge badge-pill badge-dark'>REJECTED</span>
<span *ngIf="data.status == 'new'" class='badge badge-pill badge-warning'>NEW</span>
<span *ngIf="data.status == 'resolved'" class='badge badge-pill badge-secondary'>SOLVED</span>
<span *ngIf="data.status == 'closed'" class='badge badge-pill badge-success'>CLOSED</span>
<span *ngIf="data.status == 'escalated_tto'" class='badge badge-pill badge-danger'>ESCALATED TTO</span>
<span *ngIf="data.status == 'escalated_ttr'"class='badge badge-pill badge-danger'>ESCALATED TTR</span>
<span *ngIf="data.status == 'assigned'" class='badge badge-pill badge-primary'>ASSIGNED</span>
<span *ngIf="data.status == 'dispatched'" class='badge badge-pill badge-danger'>DISPATCH</span>
<span *ngIf="data.agent_id == 0" class='badge badge-pill' style="background-color: orange;">Defect</span>
<p class="m-1"><small>{{data.title}}</small></p>
<p class="m-1">
<small>
<b>{{data.start_date | date: 'dd MMMM yyyy HH:mm'}}</b>
</small>
</p>
<hr>
</ng-container>
</div> </div>
<div class="col-4" *ngIf="IsFormDisabled && !isEditCustomerType">
<button class="btn btn-sm btn-block arataka-btn-default" (click)="EditCsutomerData()"><i class="fas fa-user-edit"></i> Edit Customer</button>
</div> </div>
<div class="col-8" *ngIf="IsFormDisabledCSType && isEditCustomerType">
<button class="btn btn-sm btn-block arataka-btn-default" (click)="EditCsutomerDataSubmit()"><i class="far fa-paper-plane"></i> Save Customer</button>
</div> </div>
<div class="col-4" *ngIf="!IsFormDisabledCSType">
<button class="btn btn-sm btn-block arataka-btn-primary" (click)="SubmitNewCustomer()"><i class="fas fa-plus-circle"></i> Add Customer</button> </div>
<div class="row">
<ng-container *ngIf="CustomerType != ''">
<div class="col-3">
<button class="btn btn-sm btn-block btn-danger" style="border-radius: 3px" (click)="CancelClick()">
<i class="fas fa-times"></i>
Cancel
</button>
</div>
<div class="col-3" *ngIf="IsFormDisabled && !isEditCustomerType">
<button class="btn btn-sm btn-block arataka-btn-default" (click)="EditCsutomerData()">
<i class="fas fa-user-edit"></i>
Edit Customer
</button>
</div>
<div class="col-4" *ngIf="IsFormDisabledCSType && isEditCustomerType">
<button class="btn btn-sm btn-block arataka-btn-default" (click)="EditCsutomerDataSubmit()">
<i class="far fa-paper-plane"></i>
Save Customer
</button>
</div>
<div class="col-3" *ngIf="!IsFormDisabledCSType">
<button class="btn btn-sm btn-block arataka-btn-primary" (click)="SubmitNewCustomer()">
<i class="fas fa-plus-circle"></i>
Add Customer
</button>
</div> </div>
</ng-container> </ng-container>
<ng-container *ngIf="CustomerType == ''"> <ng-container *ngIf="CustomerType == ''">
<div class="col-12"> <div class="col-12">
<p class="text-warning"><small>Note : this Customer doesn't match any Customer Type</small></p> <p class="text-warning"><small>Note : this Customer doesn't match any Customer Type</small></p>
<button class="btn btn-sm btn-block btn-danger" style="border-radius: 3px" (click)="CancelDosentMatchCustType()"><i class="fas fa-times"></i> Cancel</button> <button class="btn btn-sm btn-block btn-danger" style="border-radius: 3px" (click)="CancelDosentMatchCustType()">
<i class="fas fa-times"></i>
Cancel
</button>
</div> </div>
</ng-container> </ng-container>
</div> </div>
\ No newline at end of file
...@@ -100,6 +100,10 @@ export class AdminTicketCustomerMdComponent implements OnInit { ...@@ -100,6 +100,10 @@ export class AdminTicketCustomerMdComponent implements OnInit {
type : null type : null
} }
listTicketHistory: any[] = [];
isTicketHistoryEmpty: boolean = true;
isLoadingTicketHistory: boolean = false;
constructor(injector: Injector, constructor(injector: Injector,
private router: Router, private router: Router,
private FormBuilder : FormBuilder, private FormBuilder : FormBuilder,
...@@ -351,6 +355,9 @@ export class AdminTicketCustomerMdComponent implements OnInit { ...@@ -351,6 +355,9 @@ export class AdminTicketCustomerMdComponent implements OnInit {
this.IsFormDisabledCSType = false; this.IsFormDisabledCSType = false;
this.IsFormDisabled = true; this.IsFormDisabled = true;
} }
this.listTicketHistory = [];
this.isTicketHistoryEmpty = true;
this.isLoadingTicketHistory = false;
} }
SubmitNewCustomer(){ SubmitNewCustomer(){
...@@ -489,7 +496,6 @@ export class AdminTicketCustomerMdComponent implements OnInit { ...@@ -489,7 +496,6 @@ export class AdminTicketCustomerMdComponent implements OnInit {
//API Function --------------------------------------------------------------------------------------- //API Function ---------------------------------------------------------------------------------------
GettingPersonByMobileNumberListAPI(_Request){ GettingPersonByMobileNumberListAPI(_Request){
//AratakaConfig.LoadingPage.showLoading('Checking Person by Mobile Number') //AratakaConfig.LoadingPage.showLoading('Checking Person by Mobile Number')
console.log(this.MobileNumber)
this._CustomerService.GetPersonByMobileNumber(_Request) this._CustomerService.GetPersonByMobileNumber(_Request)
.subscribe((result: any) => { .subscribe((result: any) => {
if(result != null){ if(result != null){
...@@ -539,6 +545,7 @@ export class AdminTicketCustomerMdComponent implements OnInit { ...@@ -539,6 +545,7 @@ export class AdminTicketCustomerMdComponent implements OnInit {
this.MobileNumber2 = result.values[0].mobile_phone2 this.MobileNumber2 = result.values[0].mobile_phone2
this.MothersName = result.values[0].nama_ibu_kandung this.MothersName = result.values[0].nama_ibu_kandung
this.Address = result.values[0].alamat this.Address = result.values[0].alamat
this.requestHistoryTicket(result.values[0].id)
AratakaConfig.BootstrapDateCustomPicker({ AratakaConfig.BootstrapDateCustomPicker({
ID: '#DOBDate', ID: '#DOBDate',
DateValue: result.values[0].tanggal_lahir, DateValue: result.values[0].tanggal_lahir,
...@@ -639,7 +646,7 @@ export class AdminTicketCustomerMdComponent implements OnInit { ...@@ -639,7 +646,7 @@ export class AdminTicketCustomerMdComponent implements OnInit {
Format: 'DD-MM-YYYY', Format: 'DD-MM-YYYY',
isGet: false, isGet: false,
}) })
// this.requestHistoryTicket()
this.CustomerID = result.values[0].id; this.CustomerID = result.values[0].id;
this.IsFormDisabled = true; this.IsFormDisabled = true;
...@@ -749,4 +756,26 @@ export class AdminTicketCustomerMdComponent implements OnInit { ...@@ -749,4 +756,26 @@ export class AdminTicketCustomerMdComponent implements OnInit {
}); });
} }
requestHistoryTicket(caller_id: number) {
this.listTicketHistory = [];
this.isLoadingTicketHistory = true;
this.isTicketHistoryEmpty = false;
this._TicketService.listTicketToCallerID(caller_id)
.subscribe((res: any) => {
console.log(res)
if (res.values.tickets.length > 0) {
this.listTicketHistory = res.values.tickets;
this.isTicketHistoryEmpty = false;
} else {
this.listTicketHistory = [];
this.isTicketHistoryEmpty = true;
}
this.isLoadingTicketHistory = false;
}, (err: HttpErrorResponse) => {
this.listTicketHistory = [];
this.isLoadingTicketHistory = false;
this.isTicketHistoryEmpty = true;
})
}
} }
...@@ -60,3 +60,8 @@ ...@@ -60,3 +60,8 @@
.fileEmailLogsDetail:hover{ .fileEmailLogsDetail:hover{
background: #FFB74D; background: #FFB74D;
} }
.input-information {
width: 100%;
height: 30px;
}
{ {
"APIBASEURL" : "http://localhost:9825/", "APIBASEURL" : "http://innodev.vnetcloud.com/nobucall-api-v2/",
"MICROSERVICEURL" : "http://crm.nobubank.com/nobucall-api-log/api/v1/", "MICROSERVICEURL" : "hhttp://innodev.vnetcloud.com/nobu-history-login/api/v1/",
"SITE_NAME" : "Visionet Helpdesk System", "SITE_NAME" : "Visionet Helpdesk System",
"SITE_LOGO" : "https://i0.wp.com/jogorogo.info/wp-content/uploads/2017/07/logo_visionet.png?fit=879%2C227", "SITE_LOGO" : "https://i0.wp.com/jogorogo.info/wp-content/uploads/2017/07/logo_visionet.png?fit=879%2C227",
"COMPANY_NAME" : "PT. Visionet Data Internasional", "COMPANY_NAME" : "PT. Visionet Data Internasional",
......
...@@ -207,6 +207,16 @@ export class TicketService { ...@@ -207,6 +207,16 @@ export class TicketService {
constructor(private injector: Injector, private http : HttpClient) { } constructor(private injector: Injector, private http : HttpClient) { }
listTicketToCallerID(idCaller: number) {
const service = this.injector.get(ServiceProxyWeb)
let headers = new HttpHeaders({
'Content-Type': 'application/json',
'Authorization' : 'Bearer '+ service.getUserInformation.values.access_token
});
let options = { headers: headers };
return this.http.get(API_URL +'v3/nobutickets/0/0/'+idCaller+'/0/0/1/300' , options);
}
List(_data) { List(_data) {
const service = this.injector.get(ServiceProxyWeb) const service = this.injector.get(ServiceProxyWeb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment