Skip to content

Commit

Permalink
Merge pull request #21 from bshivani7/develop
Browse files Browse the repository at this point in the history
sms popup changes
  • Loading branch information
devikasuresh20 authored Feb 14, 2024
2 parents 19153cf + c22951a commit 50080ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 6 additions & 3 deletions src/app/closure/closure.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,13 @@ export class ClosureComponent implements OnInit {
if (btnType === "submitClose") {
values.endCall = true;
}
if (this.current_campaign === "OUTBOUND") {
values.isCompleted = true;
}
console.log("close called with " + values);
if (this.current_campaign == "OUTBOUND") {
values.IsOutbound = true;
}
else{
values.IsOutbound = false;
}
if (
this.current_campaign !== undefined &&
this.current_campaign !== null &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,10 @@ export class CoReferralServicesComponent implements OnInit {
});

dialogReff.afterClosed().subscribe(result => {
if (result) {
if(result === 'close'){
// do nothing
}
else if(result) {
// this.message.alert('Message sent to alternate number', 'success');
this.send_sms(this.ref_array, result)
}
Expand Down

0 comments on commit 50080ea

Please sign in to comment.