
Runner.pages.PageSettings.addPageEvent('credit_sales11',Runner.pages.constants.PAGE_ADD,"afterPageReady",function(pageObj,proxy,pageid,inlineRow,inlineObject,row){$(document).keyup(function(e){if(e.keyCode==13)
{$("a[id^='saveButton']").trigger('click');}});;});Runner.pages.PageSettings.addPageEvent('credit_sales11',Runner.pages.constants.PAGE_EDIT,"afterPageReady",function(pageObj,proxy,pageid,inlineRow,inlineObject,row){$(document).keyup(function(e){if
(e.keyCode==110)
{$("a[id^='saveButton']").trigger('click');var tt=0;$("tr[id*=gridRow]").each(function(){var id=$(this).attr('id');id=id.substring(7);t=+($("#value_sub_total_"+id).val());if(t>0)tt+=t;});$("#value_tt_1").val(tt);}});;});Runner.pages.PageSettings.addPageEvent('credit_sales11',Runner.pages.constants.PAGE_VIEW,"afterPageReady",function(pageObj,proxy,pageid,inlineRow,inlineObject,row){$(document).keyup(function(e){if
(e.keyCode==13)
{window.print();}
if
(e.keyCode==107)
{location.href="https://newsamagi2.ebizso.comcredit_sales_add.php";}});;});Runner.pages.PageSettings.addPageEvent('credit_sales11',Runner.pages.constants.PAGE_PRINT,"afterPageReady",function(pageObj,proxy,pageid,inlineRow,inlineObject,row){$("#printDetailsToggler1").trigger("click");$(document).keyup(function(e){if
(e.keyCode==13)
{window.print();}
if
(e.keyCode==107)
{location.href="https://www.pos.ebizso.com/sales_add.php";}});;});Runner.pages.PageSettings.addPageEvent('credit_sales11',Runner.pages.constants.PAGE_LIST,"afterPageReady",function(pageObj,proxy,pageid,inlineRow,inlineObject,row){$("#printDetailsToggler1").trigger("click");;});