Пример #1
0
 public void CallRaiseInvoice()
 {
     //  var date11 = dateBill.Text;
     var rep = new RaiseInvoice();
     DateTime date1 = dateBill.SelectedDate.Value;
     string bDate = date1.ToString("yyyy-MM-dd");
     DateTime date2 = dateLoss.SelectedDate.Value;
     string lDate = date2.ToString("yyyy-MM-dd");
     rep.Invoice(refNo.Text, billNo.Text,
         bDate,
         subject.Text,
         claimNo.Text,
         insurer.Text,
         insured.Text,
         policyNo.Text,
         lDate,
         placeSurvey.Text,
         datesSurvey.Text,
         fees, loss, double.Parse(travelExpenseByCar.Text),
         double.Parse(travelExpenseByAir.Text),
         double.Parse(travelExpenseByTrain.Text),
         double.Parse(localConveyance.Text),
         double.Parse(bata.Text), double.Parse(hotel.Text), double.Parse(photo.Text), double.Parse(misc.Text));
 }
Пример #2
0
 public void CallRaiseInvoice()
 {
     var date = dateBill.Text;
     var rep = new RaiseInvoice();
     rep.Invoice(refNo.Text, billNo.Text, dateBill.Text, subject.Text, claimNo.Text, insurer.Text, insured.Text, policyNo.Text, dateLoss.ToString(), placeSurvey.Text, datesSurvey.Text, fees, loss, double.Parse(travelExpense.Text), 255.35, 500.32, double.Parse(localConveyance.Text), 50, double.Parse(bata.Text), 300);
 }