protected void btnPintRollBack_Click(object sender, EventArgs e)
 {
     if (GXGridView1SelectedValue > 0)
     {
         RollBackDistribution rbd = RollBackDistribution.Get(GXGridView1SelectedValue);
         RollBackDistributionController.CreateFileForExistingRollBack(rbd);
     }
 }
 protected void btnDiscard_Click(object sender, EventArgs e)
 {
     if (GXGridView1SelectedValue > 0)
     {
         RollBackDistribution rbd = RollBackDistribution.Get(GXGridView1SelectedValue);
         RollBackDistribution.SetDiscardedFromBranch(rbd);
         GXGridView1SelectedValue = 0;
         GXGridView1.DataBind();
     }
 }
 protected void btnConfirm_Click(object sender, EventArgs e)
 {
     if (GXGridView1SelectedValue > 0)
     {
         RollBackDistribution rbd = RollBackDistribution.Get(GXGridView1SelectedValue);
         RollBackDistribution.SetConfirmedFromCompany(rbd);
         GXGridView1SelectedValue = 0;
         GXGridView1.DataBind();
     }
 }
 protected void btnPintRollBack_Click(object sender, EventArgs e)
 {
     btnPreview.CssClass = "osvezi";
     btnReport.CssClass  = "izvestaj";
     btnSearch.CssClass  = "prebaraj";
     // btnDiscard.CssClass = "storniraj";
     btnPintRollBack.CssClass = "pecati";
     // btnConfirm.CssClass = "potvrdi";
     if (GXGridView1SelectedValue > 0)
     {
         RollBackDistribution rbd = RollBackDistribution.Get(GXGridView1SelectedValue);
         RollBackDistributionController.CreateFileForExistingWithoutPaymentTypeRecap(rbd);
     }
 }