示例#1
0
        private async void PenjualanBulan(Task <double> task, MainBoxItem obj)
        {
            double res = await task;

            if (res > 0)
            {
                obj.ContentItem.Text = string.Format("Rp. {0:N}", res);
            }
        }
示例#2
0
        private async void OnCompleteInvoice(Task <List <invoice> > task, MainBoxItem obj)
        {
            var res = await task;

            if (res != null)
            {
                obj.ContentItem.Text = string.Format("{0} Inv", res.Count);
            }
        }
示例#3
0
        private async void OnCompletePenjualanNotHaveDeliveryStatus(Task <List <PenjualanReportModel> > task, MainBoxItem obj)
        {
            var res = await task;

            if (res != null)
            {
                obj.ContentItem.Text = string.Format("{0} SPB", res.Count);
            }
        }