• R/O
  • SSH
  • HTTPS

softbanking: Commit


Commit MetaInfo

Revision69 (tree)
Time2022-05-05 10:22:30
Authorhemaxvi_soft

Log Message

(empty log message)

Change Summary

Incremental Difference

--- Capas/Model/Utilidades.cs (revision 68)
+++ Capas/Model/Utilidades.cs (revision 69)
@@ -9,7 +9,7 @@
99 public class Utilidades
1010 {
1111
12- public string version = "v1.0.9";
12+ public string version = "v1.1.0";
1313
1414
1515 public void Notificaion(string titulo, string texto, string icono, Page page)
--- FacturacionWF.aspx.cs (revision 68)
+++ FacturacionWF.aspx.cs (revision 69)
@@ -281,6 +281,7 @@
281281 if (Cb48.Checked) { lotteriesDAL.LotteryID = 48; lotteriesDAL.GetByKey(loginDAL); loterryClosingRespuesta.Append(LotteryCLose(Cb48.Text, lotteriesDAL.ClosingTime, lotteriesDAL.SundayClosingTime) + "\\n\\n"); }
282282 if (Cb49.Checked) { lotteriesDAL.LotteryID = 49; lotteriesDAL.GetByKey(loginDAL); loterryClosingRespuesta.Append(LotteryCLose(Cb49.Text, lotteriesDAL.ClosingTime, lotteriesDAL.SundayClosingTime) + "\\n\\n"); }
283283 if (Cb5.Checked) { lotteriesDAL.LotteryID = 5; lotteriesDAL.GetByKey(loginDAL); loterryClosingRespuesta.Append(LotteryCLose(Cb5.Text, lotteriesDAL.ClosingTime, lotteriesDAL.SundayClosingTime) + "\\n\\n"); }
284+ if (Cb50.Checked) { lotteriesDAL.LotteryID = 50; lotteriesDAL.GetByKey(loginDAL); loterryClosingRespuesta.Append(LotteryCLose(Cb50.Text, lotteriesDAL.ClosingTime, lotteriesDAL.SundayClosingTime) + "\\n\\n"); }
284285
285286
286287 if (loterryClosingRespuesta.Length <= 20)
@@ -307,6 +308,7 @@
307308 if (Cb48.Checked) { lotteriesDAL.LotteryID = 48; lotteryDalList = lotteriesDAL.Search(loginDAL); transactionsDAL.ShiftName = lotteryDalList[0].ShiftName; transactionsDAL.LotteryName = Cb48.Text; sbError.Append(transactionsDAL.Insert(loginDAL) ? InsertDetails(transactionsDAL.TransactionID, transactionsDAL.LotteryName, transactionsDAL.ShiftName) + "\\n\\n" : transactionsDAL.ErrorDescription + "\\n\\n"); }
308309 if (Cb49.Checked) { lotteriesDAL.LotteryID = 49; lotteryDalList = lotteriesDAL.Search(loginDAL); transactionsDAL.ShiftName = lotteryDalList[0].ShiftName; transactionsDAL.LotteryName = Cb49.Text; sbError.Append(transactionsDAL.Insert(loginDAL) ? InsertDetails(transactionsDAL.TransactionID, transactionsDAL.LotteryName, transactionsDAL.ShiftName) + "\\n\\n" : transactionsDAL.ErrorDescription + "\\n\\n"); }
309310 if (Cb5.Checked) { lotteriesDAL.LotteryID = 5; lotteryDalList = lotteriesDAL.Search(loginDAL); transactionsDAL.ShiftName = lotteryDalList[0].ShiftName; transactionsDAL.LotteryName = Cb5.Text; sbError.Append(transactionsDAL.Insert(loginDAL) ? InsertDetails(transactionsDAL.TransactionID, transactionsDAL.LotteryName, transactionsDAL.ShiftName) + "\\n\\n" : transactionsDAL.ErrorDescription + "\\n\\n"); }
311+ if (Cb50.Checked) { lotteriesDAL.LotteryID = 50; lotteryDalList = lotteriesDAL.Search(loginDAL); transactionsDAL.ShiftName = lotteryDalList[0].ShiftName; transactionsDAL.LotteryName = Cb50.Text; sbError.Append(transactionsDAL.Insert(loginDAL) ? InsertDetails(transactionsDAL.TransactionID, transactionsDAL.LotteryName, transactionsDAL.ShiftName) + "\\n\\n" : transactionsDAL.ErrorDescription + "\\n\\n"); }
310312
311313 ImprimirTPV();
312314 if (sbError.Length > 20)
@@ -730,7 +732,7 @@
730732
731733 if (Cb1.Checked || Cb4.Checked || Cb5.Checked || Cb12.Checked || Cb15.Checked || Cb32.Checked || Cb33.Checked ||
732734 Cb37.Checked || Cb38.Checked || Cb39.Checked || Cb40.Checked || Cb41.Checked || Cb42.Checked || Cb43.Checked ||
733- Cb44.Checked || Cb45.Checked || Cb46.Checked || Cb47.Checked || Cb48.Checked || Cb49.Checked)
735+ Cb44.Checked || Cb45.Checked || Cb46.Checked || Cb47.Checked || Cb48.Checked || Cb49.Checked || Cb50.Checked)
734736 { }
735737
736738 string nombreBanca = customersDALList[0].PartnerShip;
@@ -762,6 +764,7 @@
762764 if (Cb4.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LE </a><a>" + Cb4.Text + "</a></div>"; }
763765 if (Cb40.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>FN </a><a>" + Cb40.Text + "</a></div>"; }
764766 if (Cb41.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LP </a><a>" + Cb41.Text + "</a></div>"; }
767+ if (Cb50.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LPN </a><a>" + Cb50.Text + "</a></div>"; }
765768 if (Cb42.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LS </a><a>" + Cb42.Text + "</a></div>"; }
766769 if (Cb43.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LD </a><a>" + Cb43.Text + "</a></div>"; }
767770 if (Cb45.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>AMD </a><a>" + Cb45.Text + "</a></div>"; }
@@ -772,6 +775,7 @@
772775 if (Cb5.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>SNL </a><a>" + Cb5.Text + "</a></div>"; }
773776
774777
778+
775779 TicketImprimir.InnerHtml += "<br/><div class='row' >";
776780 TicketImprimir.InnerHtml += "<div class='col-7'><div class='row justify-content-start negrita-T fs-5' >TP Num.</div></div>";
777781 TicketImprimir.InnerHtml += "<div class='col-2'><div class='row justify-content-start negrita-T fs-5' >Lot.</div></div>";
@@ -792,6 +796,7 @@
792796 if (Cb4.Checked) { detalleTicket += PintarTicketDetalle("LE", Cb4.Text); contadorLoterias++; }
793797 if (Cb40.Checked) { detalleTicket += PintarTicketDetalle("FN", Cb40.Text); contadorLoterias++; }
794798 if (Cb41.Checked) { detalleTicket += PintarTicketDetalle("LP", Cb41.Text); contadorLoterias++; }
799+ if (Cb50.Checked) { detalleTicket += PintarTicketDetalle("LPN", Cb50.Text); contadorLoterias++; }
795800 if (Cb42.Checked) { detalleTicket += PintarTicketDetalle("LS", Cb42.Text); contadorLoterias++; }
796801 if (Cb43.Checked) { detalleTicket += PintarTicketDetalle("LD", Cb43.Text); contadorLoterias++; }
797802 if (Cb45.Checked) { detalleTicket += PintarTicketDetalle("AMD", Cb45.Text); contadorLoterias++; }
@@ -853,7 +858,7 @@
853858
854859 if (Cb1.Checked || Cb4.Checked || Cb5.Checked || Cb12.Checked || Cb15.Checked || Cb32.Checked || Cb33.Checked ||
855860 Cb37.Checked || Cb38.Checked || Cb39.Checked || Cb40.Checked || Cb41.Checked || Cb42.Checked || Cb43.Checked ||
856- Cb44.Checked || Cb45.Checked || Cb46.Checked || Cb47.Checked || Cb48.Checked || Cb49.Checked)
861+ Cb44.Checked || Cb45.Checked || Cb46.Checked || Cb47.Checked || Cb48.Checked || Cb49.Checked || Cb50.Checked)
857862 { }
858863
859864 string nombreBanca = customersDALList[0].PartnerShip;
@@ -885,6 +890,7 @@
885890 if (Cb4.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LE </a><a>" + Cb4.Text + "</a></div>"; }
886891 if (Cb40.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>FN </a><a>" + Cb40.Text + "</a></div>"; }
887892 if (Cb41.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LP </a><a>" + Cb41.Text + "</a></div>"; }
893+ if (Cb50.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LPN </a><a>" + Cb50.Text + "</a></div>"; }
888894 if (Cb42.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LS </a><a>" + Cb42.Text + "</a></div>"; }
889895 if (Cb43.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>LD </a><a>" + Cb43.Text + "</a></div>"; }
890896 if (Cb45.Checked) { TicketImprimir.InnerHtml += "<div class='aling-T-L'><a>AMD </a><a>" + Cb45.Text + "</a></div>"; }
@@ -915,6 +921,7 @@
915921 if (Cb4.Checked) { detalleTicket += PintarTicketDetalle("LE", Cb4.Text); contadorLoterias++; }
916922 if (Cb40.Checked) { detalleTicket += PintarTicketDetalle("FN", Cb40.Text); contadorLoterias++; }
917923 if (Cb41.Checked) { detalleTicket += PintarTicketDetalle("LP", Cb41.Text); contadorLoterias++; }
924+ if (Cb50.Checked) { detalleTicket += PintarTicketDetalle("LPN", Cb50.Text); contadorLoterias++; }
918925 if (Cb42.Checked) { detalleTicket += PintarTicketDetalle("LS", Cb42.Text); contadorLoterias++; }
919926 if (Cb43.Checked) { detalleTicket += PintarTicketDetalle("LD", Cb43.Text); contadorLoterias++; }
920927 if (Cb45.Checked) { detalleTicket += PintarTicketDetalle("AMD", Cb45.Text); contadorLoterias++; }
@@ -1248,6 +1255,17 @@
12481255 contador++;
12491256 }
12501257 }
1258+ if (Cb50.Checked)
1259+ {
1260+ if (!validateAvailableLimitsGridView(item.Cells[2].Text.ToString(), item.Cells[1].Text.ToString(), item.Cells[0].Text.ToString(), "49"))
1261+ {
1262+
1263+ respuesta += "\\n\\n En " + Cb50.Text + ":";
1264+ respuesta += "\\n\\n Linea Ticket: " + item.Cells[0].Text.ToString() + " " + item.Cells[1].Text.ToString() + " " + item.Cells[2].Text.ToString() + " Disp.:" +
1265+ GetAvailableLimitsGridView(item.Cells[2].Text.ToString(), item.Cells[1].Text.ToString(), item.Cells[0].Text.ToString(), "50");
1266+ contador++;
1267+ }
1268+ }
12511269 }
12521270
12531271 if (contador == 1)
@@ -1317,6 +1335,7 @@
13171335 contador = Cb47.Checked ? contador + 1 : contador;
13181336 contador = Cb48.Checked ? contador + 1 : contador;
13191337 contador = Cb49.Checked ? contador + 1 : contador;
1338+ contador = Cb50.Checked ? contador + 1 : contador;
13201339
13211340 if (contador > 1)
13221341 {
@@ -1377,6 +1396,7 @@
13771396 case 47: Cb47.Enabled = false; Cb47.Checked = true; break;
13781397 case 48: Cb48.Enabled = false; Cb48.Checked = true; break;
13791398 case 49: Cb49.Enabled = false; Cb49.Checked = true; break;
1399+ case 50: Cb50.Enabled = false; Cb50.Checked = true; break;
13801400 }
13811401
13821402
--- FacturacionWF.aspx.designer.cs (revision 68)
+++ FacturacionWF.aspx.designer.cs (revision 69)
@@ -465,31 +465,31 @@
465465 protected global::System.Web.UI.WebControls.CheckBox Cb49;
466466
467467 /// <summary>
468- /// Control GvTicket.
468+ /// Control Cb50.
469469 /// </summary>
470470 /// <remarks>
471471 /// Campo generado automáticamente.
472472 /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente.
473473 /// </remarks>
474- protected global::System.Web.UI.WebControls.GridView GvTicket;
474+ protected global::System.Web.UI.WebControls.CheckBox Cb50;
475475
476476 /// <summary>
477- /// Control BtnJugar.
477+ /// Control GvTicket.
478478 /// </summary>
479479 /// <remarks>
480480 /// Campo generado automáticamente.
481481 /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente.
482482 /// </remarks>
483- protected global::System.Web.UI.WebControls.Button BtnJugar;
483+ protected global::System.Web.UI.WebControls.GridView GvTicket;
484484
485485 /// <summary>
486- /// Control Button1.
486+ /// Control BtnJugar.
487487 /// </summary>
488488 /// <remarks>
489489 /// Campo generado automáticamente.
490490 /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente.
491491 /// </remarks>
492- protected global::System.Web.UI.WebControls.Button Button1;
492+ protected global::System.Web.UI.WebControls.Button BtnJugar;
493493
494494 /// <summary>
495495 /// Control BtbBorrar.
--- SeleccionLoteriaWF.aspx.cs (revision 68)
+++ SeleccionLoteriaWF.aspx.cs (revision 69)
@@ -136,6 +136,7 @@
136136 case 47: Div47.Visible = false; break;
137137 case 48: Div48.Visible = false; break;
138138 case 49: Div49.Visible = false; break;
139+ case 50: Div50.Visible = false; break;
139140 }
140141 }
141142 }
--- SeleccionLoteriaWF.aspx.designer.cs (revision 68)
+++ SeleccionLoteriaWF.aspx.designer.cs (revision 69)
@@ -132,6 +132,24 @@
132132 protected global::System.Web.UI.HtmlControls.HtmlButton Btn41;
133133
134134 /// <summary>
135+ /// Control Div50.
136+ /// </summary>
137+ /// <remarks>
138+ /// Campo generado automáticamente.
139+ /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente.
140+ /// </remarks>
141+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl Div50;
142+
143+ /// <summary>
144+ /// Control Btn50.
145+ /// </summary>
146+ /// <remarks>
147+ /// Campo generado automáticamente.
148+ /// Para modificarlo, mueva la declaración del campo del archivo del diseñador al archivo de código subyacente.
149+ /// </remarks>
150+ protected global::System.Web.UI.HtmlControls.HtmlButton Btn50;
151+
152+ /// <summary>
135153 /// Control Div42.
136154 /// </summary>
137155 /// <remarks>
Show on old repository browser