Exemplo n.º 1
0
 private void ListStatus()
 {
     Status_Options.Add(new SelectListItem()
     {
         Value = "draft", Text = "draftStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "revised", Text = "revisedStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "posted", Text = "postedStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "rejectedForClient", Text = "rejectedForClientStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "confirmedForClient", Text = "notificationConfirmedStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "confirmedToOverdue", Text = "confirmedToOverdueStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "offeredBank", Text = "offeredBankStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "released", Text = "releasedStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "published", Text = "publishedStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "soldSupplier", Text = "soldSupplierStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "processing", Text = "processingStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "soldToOverdueSupplier", Text = "soldToOverdueSupplierStatus"
     });
 }
 private void ListStatus()
 {
     Status_Options.Add(new SelectListItem()
     {
         Value = "soldBank", Text = "soldBankStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "processing", Text = "processingStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "soldToOverdue", Text = "soldToOverdueStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "finalizeBank", Text = "canceledStatus"
     });
 }
 private void ListStatus()
 {
     Status_Options.Add(new SelectListItem()
     {
         Value = "revised", Text = "revisedStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "posted", Text = "postedStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "rejectedForClient", Text = "rejectedForClientStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "confirmedForClient", Text = "notificationConfirmedStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "confirmedToOverdue", Text = "confirmedToOverdueStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "offeredBank", Text = "offeredBankStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "soldBank", Text = "soldBankStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "processing", Text = "processingStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "soldToOverdue", Text = "soldToOverdueStatus"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "finalizeBank", Text = "canceledStatus"
     });
 }
        private void ListStatus()
        {
            Status_Options.Add(new SelectListItem()
            {
                Value = "draft", Text = "draftStatus"
            });
            Status_Options.Add(new SelectListItem()
            {
                Value = "revised", Text = "revisedStatus"
            });
            Status_Options.Add(new SelectListItem()
            {
                Value = "posted", Text = "postedStatus"
            });
            Status_Options.Add(new SelectListItem()
            {
                Value = "confirmedForClient", Text = "notificationConfirmedStatus"
            });
            Status_Options.Add(new SelectListItem()
            {
                Value = "rejected", Text = "rejectedStatus"
            });
            Status_Options.Add(new SelectListItem()
            {
                Value = "confirmedToOverdue", Text = "confirmedToOverdueStatus"
            });
            Status_Options.Add(new SelectListItem()
            {
                Value = "finalizeBank", Text = "canceledStatus"
            });

            /*
             * ChangeStatus_options.Add(new SelectListItem() { Value = "draft", Text = "draftChangeStatus" });
             * ChangeStatus_options.Add(new SelectListItem() { Value = "posted", Text = "postedChangeStatus" });
             * ChangeStatus_options.Add(new SelectListItem() { Value = "confirmed", Text = "confirmedChangeStatus" });
             * ChangeStatus_options.Add(new SelectListItem() { Value = "overdue", Text = "overdueChangeStatus" });
             * ChangeStatus_options.Add(new SelectListItem() { Value = "finalize", Text = "finalizeChangeStatus" });
             */
        }
Exemplo n.º 5
0
 private void ListStatus()
 {
     Status_Options.Add(new SelectListItem()
     {
         Value = "draft", Text = "CARGADA"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "posted", Text = "POSTULADA"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "confirmed", Text = "CONFIRMADA"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "finalize", Text = "COMPLETADA"
     });
     Status_Options.Add(new SelectListItem()
     {
         Value = "overdue", Text = "VENCIDA"
     });
 }
 private void ListStatus(string participant)
 {
     if (participant == "DEBTOR" || participant == "BACKOFFICE")
     {
         Status_Options.Add(new SelectListItem()
         {
             Value = "draft", Text = "FACTURA CREADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "posted", Text = "FACTURA POSTULADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "confirmed", Text = "FACTURA CONFIRMADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "paid", Text = "FACTURA PAGADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "finalize", Text = "FACTURA COMPLETADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "overdue", Text = "FACTURA VENCIDA"
         });
     }
     else if (participant == "CONFIRMANT" || participant == "SUPPLIER")
     {
         Status_Options.Add(new SelectListItem()
         {
             Value = "posted", Text = "FACTURA POSTULADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "confirmed", Text = "FACTURA CONFIRMADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "offered", Text = "FACTURA OFERTADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "released", Text = "FACTURA LIBERADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "published", Text = "FACTURA PUBLICADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "sold", Text = "FACTURA VENDIDA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "processing", Text = "FACTURA EN PROCESO DE PAGOS"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "paid", Text = "FACTURA PAGADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "postponed", Text = "FACTURA EN ESPERA DEL VENCIMIENTO"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "overdue", Text = "FACTURA VENCIDA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "finalize", Text = "FACTURA COMPLETADA"
         });
     }
     else if (participant == "FACTOR")
     {
         Status_Options.Add(new SelectListItem()
         {
             Value = "published", Text = "FACTURA PUBLICADA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "sold", Text = "FACTURA VENDIDA"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "processing", Text = "FACTURA EN PROCESO DE PAGOS"
         });
         Status_Options.Add(new SelectListItem()
         {
             Value = "paid", Text = "FACTURA PAGADA"
         });
     }
 }