no message

zik
Zohaib Iqbal Kambrani 2 years ago
parent 1428fd6480
commit d20a45208a

@ -5,7 +5,8 @@ const ONLY_NUMBERS = "[0-9]";
const ONLY_LETTERS = "[a-zA-Z &'\"]";
const ONLY_DATE = "[0-9/]";
const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/';
const BASE_URL = 'http://10.200.204.11:2222/Services/Nurses.svc/REST';
const BASE_URL = 'https://uat.hmgwebservices.com/services/Nurses.svc/REST'; // UAT
// const BASE_URL = 'http://10.200.204.11:2222/Services/Nurses.svc/REST';
// const BASE_URL = 'https://hmgwebservices.com/';

@ -159,12 +159,12 @@ class _MyHomePageState extends State<MyHomePage> {
updateTickets(){
List<Tickets> _ticketsToUpdate = waitings.where((t) => t.call_updated == false);
API.Call_UpdateNotIsQueueRecordByIDAsync(DEVICE_IP, tickets: _ticketsToUpdate, onSuccess: (tickets_updated){
print("[${tickets_updated.length}] Tickets Updated: $tickets_updated");
}, onFailure: (e){
});
// List<Tickets> _ticketsToUpdate = waitings.where((t) => t.call_updated == false);
// API.Call_UpdateNotIsQueueRecordByIDAsync(DEVICE_IP, tickets: _ticketsToUpdate, onSuccess: (tickets_updated){
// print("[${tickets_updated.length}] Tickets Updated: $tickets_updated");
// }, onFailure: (e){
//
// });
}

@ -46,11 +46,6 @@ Widget priorityTicketsWithSideList(List<Tickets> tickets){
itemBuilder: (ctx,idx){
final itm = otherTickets[idx];
final isDoctor = itm.callType == 1;
final icon = "assets/images/${isDoctor ? 'doctoricon' : 'nurseicon'}.svg";
final title = "Please Visit ${isDoctor ? 'Doctor' : 'Nurse'}";
final color = isDoctor ? AppGlobal.appRedColor : AppGlobal.appGreenColor;
return ListTile(
contentPadding: const EdgeInsets.all(8),

Loading…
Cancel
Save