Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php ${"\x47LOB\x41\x4cS"}["\x68\x77\x6c\x6f\x70\x77\x62\x68e"]="\x6cab\x69n\x76\x6f\x69\..

Decoded Output download

<?php ${"GLOBALS"}["hwlopwbhe"]="labinvoice_description";${"GLOBALS"}["nsxjhgwhci"]="labinvoice_totaldiscp";${"GLOBALS"}["cdocpdys"]="labinvoice_subtotal";${"GLOBALS"}["wgfujroj"]="labinvoice_mpo";${"GLOBALS"}["jlvvjustgwb"]="labinvoice_age";${"GLOBALS"}["knrytbetg"]="dailytransection_lab_id";${"GLOBALS"}["bioekx"]="dailytransection_lab_update";${"GLOBALS"}["flbptmtmi"]="labinvoice_date";${"GLOBALS"}["eddefjj"]="labinvoicedetails_testgroup";${"GLOBALS"}["dhdridomwye"]="category";${"GLOBALS"}["ekljueumuu"]="labinvoice_categoryarray";${"GLOBALS"}["xlwvkm"]="labinvoicedetails_group";${"GLOBALS"}["jifykx"]="updatelabinvoice";${"GLOBALS"}["ckjhqdrpyeye"]="currentstock_after_sale";${"GLOBALS"}["xmftlnpof"]="labitem_reagent";${"GLOBALS"}["siwyhz"]="labinvoicedetails_update";${"GLOBALS"}["aildnezmigu"]="labinvoicedetails_discountp";${"GLOBALS"}["hgxogxclqco"]="labinvoice_qtyarray";${"GLOBALS"}["eaibzgrxdx"]="labinvoice_finaldisc";${"GLOBALS"}["jkmtxluo"]="collection_amount";${"GLOBALS"}["tplfvqtvuksf"]="update_user";${"GLOBALS"}["uloburrmfr"]="invoice";${"GLOBALS"}["crikevn"]="discount_amount";${"GLOBALS"}["qmmxoeh"]="updatesqldoctorentry";${"GLOBALS"}["pommdc"]="previous_pc_comission";${"GLOBALS"}["qdotuysrr"]="pc_comission";${"GLOBALS"}["ttsqeiovld"]="doctor_id";${"GLOBALS"}["vhzsbmcv"]="updatesql";${"GLOBALS"}["lccdxcl"]="ldue";${"GLOBALS"}["qrubyucs"]="lrow";${"GLOBALS"}["rhhcyjpkx"]="lquery";${"GLOBALS"}["whcbnwac"]="sqlduerow";${"GLOBALS"}["gpteirkethk"]="employenameentry_id";${"GLOBALS"}["msjsdpqkb"]="totalpccomission";${"GLOBALS"}["qgoklbqubx"]="lab_due";${"GLOBALS"}["qbwppqtnn"]="labinvoice_due";${"GLOBALS"}["bdcsxyu"]="lab_dueTotal";${"GLOBALS"}["dfmzqnaxu"]="labTotal";${"GLOBALS"}["fapwkqfiutyo"]="labinvoice_totalpccomission2";${"GLOBALS"}["pvqtdxguh"]="labrow";${"GLOBALS"}["bnjhvbearyn"]="labquery";${"GLOBALS"}["ivvjegzd"]="sqlonerow";${"GLOBALS"}["diczjirjije"]="labinvoicedetails_total";${"GLOBALS"}["pgyrmmuttii"]="labinvoicedetails_qty";${"GLOBALS"}["emdjmhuz"]="labinvoicedetails_rate";${"GLOBALS"}["jtjyjocc"]="labinvoicedetails_refvalue";${"GLOBALS"}["dmkxsvysy"]="user";${"GLOBALS"}["gtgslsbr"]="labinvoice_samplearray";${"GLOBALS"}["lkinbfv"]="labitem_id";${"GLOBALS"}["ukawixwwlh"]="sql";${"GLOBALS"}["otcksh"]="labinvoicedetails_item";${"GLOBALS"}["cskduqfvny"]="labinvoice_drcomissionarray";${"GLOBALS"}["iuydiejnpy"]="labinvoicedetails_drcomission";${"GLOBALS"}["ieslldeq"]="labinvoice_pccomissionarray";${"GLOBALS"}["ewvwjvlziwjx"]="labinvoicedetails_pccomission";${"GLOBALS"}["fnzksxuvwq"]="labinvoicedetails_disc";${"GLOBALS"}["itccnwcf"]="labinvoice_discountparray";${"GLOBALS"}["vrnwmhqgsw"]="labinvoicedetails_unit";${"GLOBALS"}["jeqamurxqzl"]="machine_namearray";${"GLOBALS"}["hfxxvhz"]="machine_name";${"GLOBALS"}["xndkbxmr"]="labinvoicedetails_sample";${"GLOBALS"}["diimsubcmmm"]="labinvoice_testgrouparray";${"GLOBALS"}["ucfptyvmi"]="orderby";${"GLOBALS"}["vetbsabqozgv"]="labinvoicedetails_category";${"GLOBALS"}["jjnmnlefuhv"]="labinvoice_grouparray";${"GLOBALS"}["xzutfe"]="labinvoice_item";${"GLOBALS"}["vojhojedsg"]="p";${"GLOBALS"}["vwigifpmt"]="month_serial";${"GLOBALS"}["osppdrxu"]="labitemrow";${"GLOBALS"}["zegwvtkirn"]="MSLSql";${"GLOBALS"}["enqgytnte"]="conn";${"GLOBALS"}["fsmacvj"]="MSLObj";${"GLOBALS"}["ohosjhh"]="labinvoice_subtotalafterdisc";${"GLOBALS"}["ybirgfss"]="labinvoice_id";${"GLOBALS"}["tthqxn"]="ipaddress";${"GLOBALS"}["sjemrou"]="uhid";${"GLOBALS"}["ngyjzubyhbe"]="labinvoice_receiveamount";${"GLOBALS"}["eudqvsvfngd"]="labinvoice_duesholder";${"GLOBALS"}["mieodxci"]="emergency";${"GLOBALS"}["fhfcfxgdw"]="emergencyp";${"GLOBALS"}["jyfhlcodcm"]="labinvoice_totaldisc";${"GLOBALS"}["skszlgfa"]="labinvoice_totaldrcomission";${"GLOBALS"}["ktnwxhl"]="previous_labinvoice_totalpccomission";${"GLOBALS"}["vwsluvocue"]="orderbyarray";${"GLOBALS"}["nncroyiai"]="notearray";${"GLOBALS"}["etihjmg"]="categoryarray";${"GLOBALS"}["gghoykned"]="labinvoice_totalarray";${"GLOBALS"}["knjlfaynppe"]="labinvoice_discarray";${"GLOBALS"}["xikfcoojv"]="labinvoice_ratearray";${"GLOBALS"}["ocvmxkke"]="labinvoice_refvaluearray";${"GLOBALS"}["gdlulsmwfcn"]="labinvoice_unitarray";${"GLOBALS"}["bybnmmkxqia"]="labinvoice_itemarray";${"GLOBALS"}["orvqdhheufq"]="labitem_idarray";${"GLOBALS"}["rdsyxgkud"]="babydonner";${"GLOBALS"}["qzbycubeile"]="labinvoice_ward";${"GLOBALS"}["vlcguhzebbx"]="labinvoice_pc";${"GLOBALS"}["flenrjzrys"]="labinvoice_doctor";${"GLOBALS"}["ojawhbtvpc"]="labinvoice_gender";${"GLOBALS"}["wmnftkkgv"]="bar";${"GLOBALS"}["woocqyb"]="age";${"GLOBALS"}["bykkkybeypwq"]="labinvoice_patient";${"GLOBALS"}["rlxtlgtmfjs"]="labinvoice_patientid";date_default_timezone_set("Asia/Dhaka");if(isset($_POST["submit_invoice"])){${"GLOBALS"}["vehfstiyn"]="labinvoice_subtotalafterdisc";${"GLOBALS"}["egzyyy"]="labinvoice_id";$dgevlpfj="labinvoice_previousdue";${"GLOBALS"}["pvbecrdo"]="labinvoice_grouparray";$kjkmuoc="labinvoice_patientcode";$pnfgqqjefy="labinvoice_subtotal";$kckdxeoeg="labinvoice_testgrouparray";$xbqlunhmfy="labinvoice_mobile";${${"GLOBALS"}["egzyyy"]}=$_POST["labinvoice_id"];${"GLOBALS"}["iqsupfrci"]="labinvoice_address";${${"GLOBALS"}["rlxtlgtmfjs"]}=$_POST["labinvoice_patientid"];${"GLOBALS"}["ararxjbed"]="labinvoice_age";${"GLOBALS"}["idrokdqn"]="labinvoice_pccomissionarray";$yqibnwhwnhr="doctor_mobile";$yowpfrvyp="labinvoice_samplearray";$kowllbbceywq="labinvoice_qtyarray";${$kjkmuoc}=$_POST["labinvoice_patientcode"];$sdnxlxzcm="machine_namearray";${${"GLOBALS"}["bykkkybeypwq"]}=addslashes($_POST["labinvoice_patient"]);${${"GLOBALS"}["ararxjbed"]}=$_POST["labinvoice_age"];${${"GLOBALS"}["woocqyb"]}=$_POST["age"];${${"GLOBALS"}["wmnftkkgv"]}=$_POST["bar"];${${"GLOBALS"}["ojawhbtvpc"]}=$_POST["labinvoice_gender"];${${"GLOBALS"}["iqsupfrci"]}=addslashes($_POST["labinvoice_address"]);$hbhihxc="user";${"GLOBALS"}["jvyvzpoh"]="labinvoice_mpo";$jyisuro="labinvoice_drcomissionarray";${$xbqlunhmfy}=$_POST["labinvoice_mobile"];${${"GLOBALS"}["flenrjzrys"]}=addslashes($_POST["labinvoice_doctor"]);$sichvjppwex="labinvoice_subtotalafterdisc";${"GLOBALS"}["gyxnnlhlcpfd"]="labinvoice_categoryarray";${${"GLOBALS"}["vlcguhzebbx"]}=addslashes($_POST["labinvoice_pc"]);${${"GLOBALS"}["jvyvzpoh"]}=addslashes($_POST["labinvoice_mpo"]);$ucksof="labinvoice_totaldiscp";$wyiasbs="labinvoice_due";${$yqibnwhwnhr}=addslashes($_POST["doctor_mobile"]);${${"GLOBALS"}["qzbycubeile"]}=addslashes($_POST["labinvoice_ward"]);${${"GLOBALS"}["rdsyxgkud"]}=addslashes($_POST["babydonner"]);${${"GLOBALS"}["orvqdhheufq"]}=$_POST["labitem_id"];${${"GLOBALS"}["bybnmmkxqia"]}=$_POST["labinvoice_item"];${${"GLOBALS"}["pvbecrdo"]}=$_POST["labinvoice_group"];$nenfyzithfg="labinvoice_totalpccomission";$jxplbqvve="doctor_id";${${"GLOBALS"}["gyxnnlhlcpfd"]}=$_POST["labinvoice_category"];${"GLOBALS"}["meowqrcgd"]="labinvoice_discountparray";${$kckdxeoeg}=$_POST["labinvoice_testgroup"];${"GLOBALS"}["eaqjbqb"]="created_date";${$yowpfrvyp}=$_POST["labinvoice_sample"];${$sdnxlxzcm}=$_POST["machine_name"];${"GLOBALS"}["jdriqryinng"]="labinvoice_receiveamount";${${"GLOBALS"}["gdlulsmwfcn"]}=$_POST["labinvoice_unit"];${${"GLOBALS"}["ocvmxkke"]}=$_POST["labinvoice_refvalue"];${${"GLOBALS"}["xikfcoojv"]}=$_POST["labinvoice_rate"];${$kowllbbceywq}=$_POST["labinvoice_qty"];${${"GLOBALS"}["meowqrcgd"]}=$_POST["labinvoice_discountp"];${${"GLOBALS"}["knjlfaynppe"]}=$_POST["labinvoice_disc"];${${"GLOBALS"}["gghoykned"]}=$_POST["labinvoice_total"];${"GLOBALS"}["nqujwkeyby"]="labinvoice_description";${${"GLOBALS"}["idrokdqn"]}=$_POST["labinvoice_pccomission"];${$jyisuro}=$_POST["labinvoice_drcomission"];$xqsvmeddwcnp="previous_pc_comission";${${"GLOBALS"}["etihjmg"]}=$_POST["category"];${${"GLOBALS"}["nncroyiai"]}=$_POST["note"];${${"GLOBALS"}["vwsluvocue"]}=$_POST["orderby"];${$jxplbqvve}=$_POST["doctor_id"];$erjtpvy="labinvoice_date";${${"GLOBALS"}["ktnwxhl"]}=$_POST["previous_labinvoice_totalpccomission"];${$nenfyzithfg}=$_POST["labinvoice_totalpccomission"];${$xqsvmeddwcnp}=$_POST["previous_pc_comission"];${${"GLOBALS"}["skszlgfa"]}=$_POST["labinvoice_totaldrcomission"];${$pnfgqqjefy}=$_POST["labinvoice_subtotal"];${$ucksof}=$_POST["labinvoice_totaldiscp"];$aqsunavtmcy="user";${${"GLOBALS"}["jyfhlcodcm"]}=$_POST["labinvoice_totaldisc"];${${"GLOBALS"}["fhfcfxgdw"]}=$_POST["emergencyp"];${${"GLOBALS"}["mieodxci"]}=$_POST["emergency"];${$sichvjppwex}=$_POST["labinvoice_subtotalafterdisc"];${${"GLOBALS"}["jdriqryinng"]}=$_POST["labinvoice_receiveamount"];${${"GLOBALS"}["nqujwkeyby"]}=$_POST["labinvoice_description"];${${"GLOBALS"}["eudqvsvfngd"]}=$_POST["labinvoice_duesholder"];${$wyiasbs}=${${"GLOBALS"}["vehfstiyn"]}-${${"GLOBALS"}["ngyjzubyhbe"]};${$dgevlpfj}=$_POST["labinvoice_previousdue"];${$erjtpvy}=date("Y-m-d h:i:s");${"GLOBALS"}["lanipbyxue"]="labinvoice_deliverydate";${${"GLOBALS"}["eaqjbqb"]}=date("Y-m-d");${${"GLOBALS"}["lanipbyxue"]}=$_POST["labinvoice_deliverydate"];${$hbhihxc}=$_POST["user"];${${"GLOBALS"}["sjemrou"]}=date("ymdhis");${${"GLOBALS"}["tthqxn"]}=$_SERVER["REMOTE_ADDR"];require("labdd.php");if(${${"GLOBALS"}["ybirgfss"]}==0&&${$aqsunavtmcy}!=""){$derbbl="labinvoice_receiveamount";if(${$derbbl}<=${${"GLOBALS"}["ohosjhh"]}){${"GLOBALS"}["vwcadmue"]="LabInvYM";${"GLOBALS"}["twglqluhmi"]="month_serial";$xncwgctvr="labinvoice_date";$krpkojrp="MSLSql";${${"GLOBALS"}["twglqluhmi"]}=1;$yqylkldydmp="conn";${${"GLOBALS"}["vwcadmue"]}=substr(${$xncwgctvr},0,7);${"GLOBALS"}["rmhirkruhuh"]="MSLObj";${"GLOBALS"}["mcgkzswsxh"]="sql";${$krpkojrp}="SELECT month_serial FROM labinvoice WHERE SUBSTRING(labinvoice_date, 1, 7) = '$LabInvYM' ORDER BY month_serial DESC LIMIT 0, 1";${${"GLOBALS"}["fsmacvj"]}=mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["zegwvtkirn"]});$cfkdueku="sql";$indqwknfqyg="insertlabinvoice";$ppaeoab="user";if(${${"GLOBALS"}["rmhirkruhuh"]}&&mysqli_num_rows(${${"GLOBALS"}["fsmacvj"]})>0){${"GLOBALS"}["femfghrr"]="MSLObj";while(${${"GLOBALS"}["osppdrxu"]}=mysqli_fetch_array(${${"GLOBALS"}["femfghrr"]})){${"GLOBALS"}["fwydavfwwp"]="labitemrow";${${"GLOBALS"}["vwigifpmt"]}=${${"GLOBALS"}["fwydavfwwp"]}["month_serial"]+1;}}${$cfkdueku}="insert into labinvoice set `labinvoice_patientid`='$labinvoice_patientid', 
										`labinvoice_patientcode`='$labinvoice_patientcode',
										`labinvoice_patient`='$labinvoice_patient',
										`babydonner`='$babydonner',
										`user`='$user',
										`number`='1',
										`bar`='$bar',
										`uhid`='$uhid',
										`age`='$age',
										`ipaddress`='$ipaddress',
										`labinvoice_age`='$labinvoice_age', 
										`labinvoice_gender`='$labinvoice_gender',
										`labinvoice_address`='$labinvoice_address',
										`labinvoice_mobile`='$labinvoice_mobile',
										`labinvoice_doctor`='$labinvoice_doctor', 
										`labinvoice_pc`='$labinvoice_pc',
										`labinvoice_mpo`='$labinvoice_mpo',
										`doctor_mobile`='$doctor_mobile',
										`labinvoice_ward`='$labinvoice_ward',
										`labinvoice_subtotal`='$labinvoice_subtotal',
										`labinvoice_totaldiscp`='$labinvoice_totaldiscp',
										`labinvoice_totaldisc`='$labinvoice_totaldisc',
										`emergencyp`='$emergencyp',
										`emergency`='$emergency',
										`labinvoice_totalpccomission`='$labinvoice_totalpccomission',
										`labinvoice_totaldrcomission`='$labinvoice_totaldrcomission',
										`labinvoice_subtotalafterdisc`='$labinvoice_subtotalafterdisc',
										`labinvoice_receiveamount`='$labinvoice_receiveamount',
										`labinvoice_description`='$labinvoice_description',
										`labinvoice_duesholder`='$labinvoice_duesholder',
										`labinvoice_previousdue`='$labinvoice_previousdue',
										`previous_labinvoice_totalpccomission`= '$previous_labinvoice_totalpccomission',
										`labinvoice_due`='$labinvoice_due',
										`due_status`='$labinvoice_due',
										`labinvoice_date`='$labinvoice_date',
										`created_date`='$created_date',
										`month_serial`='$month_serial',
										`labinvoice_deliverydate`='$labinvoice_deliverydate'";${$indqwknfqyg}=mysqli_query(${$yqylkldydmp},${${"GLOBALS"}["mcgkzswsxh"]});${${"GLOBALS"}["ybirgfss"]}=mysqli_insert_id(${${"GLOBALS"}["enqgytnte"]});if(${${"GLOBALS"}["ybirgfss"]}>0&&${$ppaeoab}!=""){$ubbgfvuhw="insertlabinvoice";$fhhdjipl="labinvoice_patientid";if(${${"GLOBALS"}["bybnmmkxqia"]}!=""&&is_array(${${"GLOBALS"}["bybnmmkxqia"]})){${${"GLOBALS"}["vojhojedsg"]}=0;$opdwjlgf="labinvoice_itemarray";foreach(${$opdwjlgf} as${${"GLOBALS"}["xzutfe"]}){$hichpd="labinvoicedetails_item";${"GLOBALS"}["iqmvmnsjnd"]="labinvoice_qtyarray";$apvtuctkdk="labitem_id";$qsalmdq="p";${"GLOBALS"}["ooqwfbgxk"]="p";${"GLOBALS"}["zabxhniqu"]="p";${"GLOBALS"}["mjhkgclne"]="category";${"GLOBALS"}["ebdurlbvrw"]="p";$ygtylgkrryr="labinvoicedetails_rate";$reecjw="labitem_idarray";${"GLOBALS"}["orvubs"]="p";$mhtjlnjglkg="categoryarray";${"GLOBALS"}["xttbkwvw"]="labinvoice_categoryarray";${$apvtuctkdk}=${$reecjw}[${${"GLOBALS"}["zabxhniqu"]}];${"GLOBALS"}["skebwoukzf"]="labinvoicedetails_group";${$hichpd}=${${"GLOBALS"}["bybnmmkxqia"]}[${${"GLOBALS"}["ooqwfbgxk"]}];${${"GLOBALS"}["skebwoukzf"]}=${${"GLOBALS"}["jjnmnlefuhv"]}[${${"GLOBALS"}["ebdurlbvrw"]}];${"GLOBALS"}["srnnfmgdnlv"]="labinvoicedetails_refvalue";$hxpqyosmk="p";$pihjrsip="note";${${"GLOBALS"}["vetbsabqozgv"]}=${${"GLOBALS"}["xttbkwvw"]}[${${"GLOBALS"}["vojhojedsg"]}];$vyogwfz="labinvoicedetails_testgroup";${${"GLOBALS"}["mjhkgclne"]}=${$mhtjlnjglkg}[${${"GLOBALS"}["vojhojedsg"]}];$rspmnrd="p";${$pihjrsip}=${${"GLOBALS"}["nncroyiai"]}[${$qsalmdq}];${"GLOBALS"}["cqqyyotkm"]="labinvoice_samplearray";${"GLOBALS"}["geeqkjjomur"]="user";$uzckekuxws="labinvoicedetails_qty";${${"GLOBALS"}["ucfptyvmi"]}=${${"GLOBALS"}["vwsluvocue"]}[${${"GLOBALS"}["vojhojedsg"]}];${$vyogwfz}=${${"GLOBALS"}["diimsubcmmm"]}[${${"GLOBALS"}["vojhojedsg"]}];${"GLOBALS"}["phfovctz"]="p";${${"GLOBALS"}["xndkbxmr"]}=${${"GLOBALS"}["cqqyyotkm"]}[${${"GLOBALS"}["vojhojedsg"]}];${"GLOBALS"}["mjxrurk"]="user";${${"GLOBALS"}["hfxxvhz"]}=${${"GLOBALS"}["jeqamurxqzl"]}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["geeqkjjomur"]}=${${"GLOBALS"}["mjxrurk"]};$wpqdried="labinvoicedetails_discountp";${${"GLOBALS"}["vrnwmhqgsw"]}=${${"GLOBALS"}["gdlulsmwfcn"]}[${${"GLOBALS"}["orvubs"]}];${"GLOBALS"}["lfccaqxjml"]="p";${"GLOBALS"}["abxvoy"]="p";$abkthxk="labinvoice_discarray";${${"GLOBALS"}["srnnfmgdnlv"]}=${${"GLOBALS"}["ocvmxkke"]}[${${"GLOBALS"}["vojhojedsg"]}];${$ygtylgkrryr}=${${"GLOBALS"}["xikfcoojv"]}[${$rspmnrd}];${$uzckekuxws}=${${"GLOBALS"}["iqmvmnsjnd"]}[${${"GLOBALS"}["vojhojedsg"]}];$abtfeohkfee="labinvoicedetails_total";${$wpqdried}=${${"GLOBALS"}["itccnwcf"]}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["fnzksxuvwq"]}=${$abkthxk}[${${"GLOBALS"}["vojhojedsg"]}];${$abtfeohkfee}=${${"GLOBALS"}["gghoykned"]}[${${"GLOBALS"}["lfccaqxjml"]}];${${"GLOBALS"}["ewvwjvlziwjx"]}=${${"GLOBALS"}["ieslldeq"]}[${${"GLOBALS"}["phfovctz"]}];${${"GLOBALS"}["iuydiejnpy"]}=${${"GLOBALS"}["cskduqfvny"]}[${${"GLOBALS"}["abxvoy"]}];if(${${"GLOBALS"}["otcksh"]}!=""){${"GLOBALS"}["mycgsexjgx"]="sql";${${"GLOBALS"}["mycgsexjgx"]}="insert into labinvoicedetails set `labinvoice_id` = '$labinvoice_id',
															`labinvoice_patientid`='$labinvoice_patientid', 
															`labinvoice_patientcode`='$labinvoice_patientcode',
															`labinvoicedetails_item` = '$labinvoicedetails_item',
															`user` = '$user',
															`labinvoicedetails_group` = '$labinvoicedetails_group',
															`category` = '$category',
															`note` = '$note',
															`orderby` = '$orderby',
															`labinvoicedetails_category` = '$labinvoicedetails_category',
															`labinvoicedetails_sample` = '$labinvoicedetails_sample',
															`machine_name` = '$machine_name',
															`labinvoicedetails_testgroup` = '$labinvoicedetails_testgroup',
															`labinvoicedetails_unit` = '$labinvoicedetails_unit',
															`labinvoicedetails_refvalue` = '$labinvoicedetails_refvalue',
															`labinvoicedetails_rate` = '$labinvoicedetails_rate',
															`labinvoicedetails_qty` = '$labinvoicedetails_qty',
															`labinvoicedetails_discountp` = '$labinvoicedetails_discountp',
															`labinvoicedetails_disc` = '$labinvoicedetails_disc',
															`labinvoicedetails_total` = '$labinvoicedetails_total',
															`labinvoicedetails_pccomission` = '$labinvoicedetails_pccomission',
															`labinvoicedetails_drcomission` = '$labinvoicedetails_drcomission',
															`labinvoicedetails_date` = '$labinvoice_date'";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["ukawixwwlh"]});}${$hxpqyosmk}++;}}$muxeaodbich="labinvoice_id";${${"GLOBALS"}["ukawixwwlh"]}="insert into labinvoicebackup set `labinvoice_patientid`='$labinvoice_patientid', 
													`labinvoice_patientcode`='$labinvoice_patientcode',
													`labinvoice_patient`='$labinvoice_patient',
													`user`='$user',
													`bar`='$bar',
													`age`='$age',
													`labinvoice_age`='$labinvoice_age', 
													`labinvoice_gender`='$labinvoice_gender',
													`labinvoice_address`='$labinvoice_address',
													`labinvoice_mobile`='$labinvoice_mobile',
													`labinvoice_pc`='$labinvoice_pc',
													`labinvoice_mpo`='$labinvoice_mpo',
													`labinvoice_doctor`='$labinvoice_doctor', 
													`labinvoice_ward`='$labinvoice_ward',
													`labinvoice_subtotal`='$labinvoice_subtotal',
													`labinvoice_totaldiscp`='$labinvoice_totaldiscp',
													`labinvoice_totaldisc`='$labinvoice_totaldisc',
													`labinvoice_totalpccomission`='$labinvoice_totalpccomission',
													`labinvoice_totaldrcomission`='$labinvoice_totaldrcomission',
													`labinvoice_subtotalafterdisc`='$labinvoice_subtotalafterdisc',
													`labinvoice_receiveamount`='$labinvoice_receiveamount',
													`labinvoice_description`='$labinvoice_description',
													`labinvoice_duesholder`='$labinvoice_duesholder',
													`labinvoice_previousdue`='$labinvoice_previousdue',
													`previous_labinvoice_totalpccomission`= '$previous_labinvoice_totalpccomission',
													`labinvoice_due`='$labinvoice_due',
													`due_status`='$labinvoice_due',
													`labinvoice_date`='$labinvoice_date',
													`labinvoice_deliverydate`='$labinvoice_deliverydate'";${$ubbgfvuhw}=mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["ukawixwwlh"]});mysqli_insert_id(${${"GLOBALS"}["enqgytnte"]});if(${${"GLOBALS"}["ybirgfss"]}>0){${"GLOBALS"}["ebgonczs"]="labinvoice_itemarray";if(${${"GLOBALS"}["ebgonczs"]}!=""&&is_array(${${"GLOBALS"}["bybnmmkxqia"]})){$zxsqnqv="labinvoice_itemarray";${${"GLOBALS"}["vojhojedsg"]}=0;foreach(${$zxsqnqv} as${${"GLOBALS"}["xzutfe"]}){${"GLOBALS"}["tznyrtcs"]="labinvoice_grouparray";${"GLOBALS"}["cxrtrjxnldo"]="labinvoicedetails_pccomission";${"GLOBALS"}["mgwxkcjob"]="p";${"GLOBALS"}["hpihcqcisv"]="labinvoicedetails_item";$gigaxcpvsu="p";$jxsmteplso="labitem_idarray";${"GLOBALS"}["ltfhto"]="p";$sfmbfjqdfj="p";$bqdsxccxkpf="labinvoice_testgrouparray";${"GLOBALS"}["gxrpyw"]="labinvoicedetails_unit";${"GLOBALS"}["vpoikcx"]="p";$jcupkbwqtr="labinvoicedetails_group";$xhnmwniscbk="labinvoice_discarray";${"GLOBALS"}["ydrpwykka"]="machine_name";${${"GLOBALS"}["lkinbfv"]}=${$jxsmteplso}[${${"GLOBALS"}["vojhojedsg"]}];$hjljzrw="p";${"GLOBALS"}["mdkaoohqhbuz"]="p";${${"GLOBALS"}["hpihcqcisv"]}=${${"GLOBALS"}["bybnmmkxqia"]}[${${"GLOBALS"}["ltfhto"]}];${$jcupkbwqtr}=${${"GLOBALS"}["tznyrtcs"]}[${${"GLOBALS"}["mgwxkcjob"]}];$rlbshfwphjv="p";$jamnbkivlc="p";${"GLOBALS"}["cfcehscjtz"]="machine_namearray";${"GLOBALS"}["lboqoeumxw"]="labinvoice_categoryarray";$mjnmnmnud="p";${"GLOBALS"}["opwbhh"]="p";$pkghnjflv="labinvoicedetails_testgroup";${${"GLOBALS"}["vetbsabqozgv"]}=${${"GLOBALS"}["lboqoeumxw"]}[${$rlbshfwphjv}];${"GLOBALS"}["ftfpxbpy"]="labinvoicedetails_discountp";${"GLOBALS"}["xvpqorv"]="labinvoice_qtyarray";${$pkghnjflv}=${$bqdsxccxkpf}[${$jamnbkivlc}];$wzuwdkifryk="labinvoicedetails_date";$bvtbfufbww="user";${${"GLOBALS"}["xndkbxmr"]}=${${"GLOBALS"}["gtgslsbr"]}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["ydrpwykka"]}=${${"GLOBALS"}["cfcehscjtz"]}[${${"GLOBALS"}["vojhojedsg"]}];${"GLOBALS"}["frmjmubuw"]="labinvoice_drcomissionarray";${${"GLOBALS"}["dmkxsvysy"]}=${$bvtbfufbww};${${"GLOBALS"}["gxrpyw"]}=${${"GLOBALS"}["gdlulsmwfcn"]}[${${"GLOBALS"}["opwbhh"]}];${${"GLOBALS"}["jtjyjocc"]}=${${"GLOBALS"}["ocvmxkke"]}[${${"GLOBALS"}["mdkaoohqhbuz"]}];$qnqruikfahd="labinvoicedetails_item";${${"GLOBALS"}["emdjmhuz"]}=${${"GLOBALS"}["xikfcoojv"]}[${${"GLOBALS"}["vpoikcx"]}];${${"GLOBALS"}["pgyrmmuttii"]}=${${"GLOBALS"}["xvpqorv"]}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["ftfpxbpy"]}=${${"GLOBALS"}["itccnwcf"]}[${$hjljzrw}];${${"GLOBALS"}["fnzksxuvwq"]}=${$xhnmwniscbk}[${$mjnmnmnud}];$nuuscebm="labinvoice_totalarray";${${"GLOBALS"}["diczjirjije"]}=${$nuuscebm}[${$gigaxcpvsu}];${${"GLOBALS"}["cxrtrjxnldo"]}=${${"GLOBALS"}["ieslldeq"]}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["iuydiejnpy"]}=${${"GLOBALS"}["frmjmubuw"]}[${${"GLOBALS"}["vojhojedsg"]}];${$wzuwdkifryk}=date("Y-m-d h:i:s");if(${$qnqruikfahd}!=""){${${"GLOBALS"}["ukawixwwlh"]}="insert into labinvoicedetailsbackup set `labinvoice_id` = '$labinvoice_id',
																	`labinvoice_patientid`='$labinvoice_patientid', 
																	`labinvoice_patientcode`='$labinvoice_patientcode',
																	`labinvoicedetails_item` = '$labinvoicedetails_item',
																	`user` = '$user',
																	`labinvoicedetails_group` = '$labinvoicedetails_group',
																	`category` = '$category',
																	`note` = '$note',
																	`orderby` = '$orderby',
																	`labinvoicedetails_category` = '$labinvoicedetails_category',
																	`labinvoicedetails_sample` = '$labinvoicedetails_sample',
																	`machine_name` = '$machine_name',
																	`labinvoicedetails_testgroup` = '$labinvoicedetails_testgroup',
																	`labinvoicedetails_unit` = '$labinvoicedetails_unit',
																	`labinvoicedetails_refvalue` = '$labinvoicedetails_refvalue',
																	`labinvoicedetails_rate` = '$labinvoicedetails_rate',
																	`labinvoicedetails_qty` = '$labinvoicedetails_qty',
																	`labinvoicedetails_discountp` = '$labinvoicedetails_discountp',
																	`labinvoicedetails_disc` = '$labinvoicedetails_disc',
																	`labinvoicedetails_total` = '$labinvoicedetails_total',
																	`labinvoicedetails_pccomission` = '$labinvoicedetails_pccomission',
																	`labinvoicedetails_drcomission` = '$labinvoicedetails_drcomission',
																	`labinvoicedetails_date` = '$labinvoicedetails_date'";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["ukawixwwlh"]});}${$sfmbfjqdfj}++;}}}if(${$fhhdjipl}>0){${"GLOBALS"}["ojroeitpbk"]="labquery";${"GLOBALS"}["ygjvukqlz"]="sqlonerow";${"GLOBALS"}["xulnhhjtgu"]="conn";${${"GLOBALS"}["ivvjegzd"]}="select * from opregistration where opregistration_id = $labinvoice_patientid";$oqjtmliaf="labquery";${${"GLOBALS"}["ojroeitpbk"]}=mysqli_query(${${"GLOBALS"}["xulnhhjtgu"]},${${"GLOBALS"}["ygjvukqlz"]});if(${${"GLOBALS"}["bnjhvbearyn"]}&&mysqli_num_rows(${$oqjtmliaf})>0){${"GLOBALS"}["kdyiylwhw"]="labrow";$cntfteliq="labquery";while(${${"GLOBALS"}["kdyiylwhw"]}=mysqli_fetch_array(${$cntfteliq})){$gpjgdwd="opregistration_id";$nytvgn="lab_due";${"GLOBALS"}["ykyawlpjtf"]="labrow";${"GLOBALS"}["pjqrrvoi"]="updatesql";${$gpjgdwd}=${${"GLOBALS"}["ykyawlpjtf"]}["opregistration_id"];${"GLOBALS"}["kpjjonvmql"]="labrow";${$nytvgn}=${${"GLOBALS"}["pvqtdxguh"]}["lab_due"];$iiijkjzw="labinvoice_totalpccomission";${${"GLOBALS"}["fapwkqfiutyo"]}=${${"GLOBALS"}["pvqtdxguh"]}["labinvoice_totalpccomission"];${${"GLOBALS"}["dfmzqnaxu"]}=${${"GLOBALS"}["kpjjonvmql"]}["labTotal"];${${"GLOBALS"}["bdcsxyu"]}=${${"GLOBALS"}["qbwppqtnn"]}+${${"GLOBALS"}["qgoklbqubx"]};${"GLOBALS"}["qxjkmk"]="updatesql";${${"GLOBALS"}["msjsdpqkb"]}=round(${$iiijkjzw}+${${"GLOBALS"}["fapwkqfiutyo"]});${${"GLOBALS"}["pjqrrvoi"]}="update opregistration set `lab_due`='$lab_dueTotal',
															  `labTotal`='$lab_dueTotal',
															  `labinvoice_totalpccomission`='$totalpccomission'
													    where opregistration_id = $opregistration_id";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["qxjkmk"]});}}}if(${${"GLOBALS"}["qbwppqtnn"]}>0){${${"GLOBALS"}["gpteirkethk"]}=$_POST["employenameentry_id"];${${"GLOBALS"}["whcbnwac"]}="select employenameentry_id, ldue from employenameentry where employenameentry_id = $employenameentry_id";$qcykoi="conn";${"GLOBALS"}["vrbpsiobgdny"]="lquery";${${"GLOBALS"}["vrbpsiobgdny"]}=mysqli_query(${$qcykoi},${${"GLOBALS"}["whcbnwac"]});if(${${"GLOBALS"}["rhhcyjpkx"]}&&mysqli_num_rows(${${"GLOBALS"}["rhhcyjpkx"]})>0){${"GLOBALS"}["rxxywxgqiym"]="lquery";while(${${"GLOBALS"}["qrubyucs"]}=mysqli_fetch_array(${${"GLOBALS"}["rxxywxgqiym"]})){$wkktmmdhuj="pdue2";${${"GLOBALS"}["gpteirkethk"]}=${${"GLOBALS"}["qrubyucs"]}["employenameentry_id"];${"GLOBALS"}["lspmxpkyhex"]="labinvoice_due";$gejcabmweko="ldue";${${"GLOBALS"}["lccdxcl"]}=${${"GLOBALS"}["qrubyucs"]}["ldue"];${$wkktmmdhuj}=${${"GLOBALS"}["lspmxpkyhex"]}+${$gejcabmweko};${${"GLOBALS"}["vhzsbmcv"]}="update employenameentry set `ldue`='$pdue2' where employenameentry_id = $employenameentry_id";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["vhzsbmcv"]});}}}if(${${"GLOBALS"}["ttsqeiovld"]}>0){${"GLOBALS"}["bfmqrpmn"]="doctor_date";${"GLOBALS"}["bvdcykhgrxn"]="updatesqldoctorentry";${${"GLOBALS"}["bfmqrpmn"]}=date("Y-m-d");$uxfrhwqlc="labinvoice_totalpccomission";${${"GLOBALS"}["qdotuysrr"]}=round(${$uxfrhwqlc}+${${"GLOBALS"}["pommdc"]});${${"GLOBALS"}["qmmxoeh"]}="update doctorentry set `pc_comission`='$pc_comission',
														  		`doctor_date`='$doctor_date'
														  where doctor_id = $doctor_id";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["bvdcykhgrxn"]});}if(${${"GLOBALS"}["qbwppqtnn"]}>0){$uirdmtheyz="labdue_date";${$uirdmtheyz}=date("Y-m-d");$lvjfamd="sql";${${"GLOBALS"}["ukawixwwlh"]}="insert labdue set `labinvoice_id` = '$labinvoice_id', 
										`uhid` = '$uhid',
										`bar` = '$bar',
										`labinvoice_patientid` = '$labinvoice_patientid',
										`labinvoice_patient` = '$labinvoice_patient',
										`labinvoice_mobile`='$labinvoice_mobile',
										`labinvoice_pc`='$labinvoice_pc',
										`labinvoice_mpo`='$labinvoice_mpo',
										`labinvoice_duesholder`='$labinvoice_duesholder',
										`labinvoice_totalpccomission`='$labinvoice_totalpccomission',
										`labinvoice_subtotal`='$labinvoice_subtotal',
										`labinvoice_totaldisc`='$labinvoice_totaldisc',
										`labinvoice_subtotalafterdisc`='$labinvoice_subtotalafterdisc',
										`labinvoice_receiveamount`='$labinvoice_receiveamount',
										`user`='$user',
										`labinvoice_due` = '$labinvoice_due',
										`labdue_date` = '$labdue_date'";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${$lvjfamd});}if(${${"GLOBALS"}["ngyjzubyhbe"]}>=0){${"GLOBALS"}["diisuzui"]="conn";${${"GLOBALS"}["crikevn"]}=$_POST["labinvoice_totaldisc"];$jdotlwfzygv="sql";${"GLOBALS"}["rsbvemgwuth"]="sql";${$jdotlwfzygv}="insert dailytransection_lab  set   `labinvoice_patientid` = '$labinvoice_patientid',
														`labinvoice_patientcode`='$labinvoice_patientcode',
														`labinvoice_id`='$labinvoice_id',
														`section`='Lab Cash',
														`ward`='$labinvoice_ward',
														`labinvoice_patient`='$labinvoice_patient',
														`labinvoice_mobile`='$labinvoice_mobile',
														`labinvoice_address`='$labinvoice_address',
														`user` = '$user',
														`labinvoice_pc`='$labinvoice_pc',
														`labinvoice_mpo`='$labinvoice_mpo',
														`labinvoice_subtotal`='$labinvoice_subtotal',
														`labinvoice_subtotalafterdisc`='$labinvoice_subtotalafterdisc',
														`discount_amount`='$discount_amount',
														`labinvoice_due`='$labinvoice_due',
														`labinvoice_receiveamount`='$labinvoice_receiveamount',
														`dailytransection_lab_date` = '$labinvoice_date'";mysqli_query(${${"GLOBALS"}["diisuzui"]},${${"GLOBALS"}["rsbvemgwuth"]});}if(${$muxeaodbich}>0){${"GLOBALS"}["imwupvhp"]="updatesql";${${"GLOBALS"}["uloburrmfr"]}=${${"GLOBALS"}["ybirgfss"]};${${"GLOBALS"}["imwupvhp"]}="update labreportdata set `invoice`='$invoice'
												where labreportdata_id = 1";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["vhzsbmcv"]});}header("location:index.php?p=labinvoice&labinvoice_id=$labinvoice_id&message=save-successfully");exit;}}else{header("location:index.php?p=labinvoice&message=wrongentry");}}else{${"GLOBALS"}["gqjgsb"]="labinvoice_update";${"GLOBALS"}["gmqshyyura"]="updatelabinvoice";$twqckbwynh="labinvoice_finaldisc";$emtdegxo="labinvoice_receiveamount";${${"GLOBALS"}["tplfvqtvuksf"]}=$_POST["update_user"];${${"GLOBALS"}["gqjgsb"]}=date("Y-m-d h:i:s");${$twqckbwynh}=$_POST["labinvoice_finaldisc"];${${"GLOBALS"}["jkmtxluo"]}=$_POST["collection_amount"];${"GLOBALS"}["bgyxtriljb"]="labinvoice_due2";${${"GLOBALS"}["bgyxtriljb"]}=${${"GLOBALS"}["ohosjhh"]}-${$emtdegxo}-${${"GLOBALS"}["eaibzgrxdx"]}-${${"GLOBALS"}["jkmtxluo"]};${"GLOBALS"}["idjljdfln"]="updatelabinvoice";${${"GLOBALS"}["ukawixwwlh"]}="update labinvoice set 	`labinvoice_patientid`='$labinvoice_patientid',
										`labinvoice_patientcode`='$labinvoice_patientcode',
										`labinvoice_patient`='$labinvoice_patient',
										`update_user`='$update_user',
										`age`='$age',
 										`updateip`='$ipaddress',
										`labinvoice_age`='$labinvoice_age',
										`labinvoice_gender`='$labinvoice_gender',
										`labinvoice_address`='$labinvoice_address',
										`labinvoice_mobile`='$labinvoice_mobile',
										`labinvoice_doctor`='$labinvoice_doctor',
										`labinvoice_pc`='$labinvoice_pc',
										`labinvoice_mpo`='$labinvoice_mpo',
										`labinvoice_ward`='$labinvoice_ward',
										`labinvoice_subtotal`='$labinvoice_subtotal',
										`labinvoice_totaldiscp`='$labinvoice_totaldiscp',
										`labinvoice_totaldisc`='$labinvoice_totaldisc',
										`labinvoice_totalpccomission`='$labinvoice_totalpccomission',
										`labinvoice_totaldrcomission`='$labinvoice_totaldrcomission',
										`emergencyp`='$emergencyp',
										`emergency`='$emergency',
										`labinvoice_subtotalafterdisc`='$labinvoice_subtotalafterdisc',
										`labinvoice_receiveamount`='$labinvoice_receiveamount',
										`labinvoice_description`='$labinvoice_description',
										`labinvoice_duesholder`='$labinvoice_duesholder',
										`labinvoice_previousdue`='$labinvoice_previousdue',
										`previous_labinvoice_totalpccomission`='$previous_labinvoice_totalpccomission',
										`labinvoice_due`='$labinvoice_due2',
										`labinvoice_update`='$labinvoice_update',
										`labinvoice_deliverydate`='$labinvoice_deliverydate' 
								where labinvoice_id='$labinvoice_id'";${${"GLOBALS"}["idjljdfln"]}=mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["ukawixwwlh"]});if(${${"GLOBALS"}["gmqshyyura"]}){$bmitklgoggz="labinvoice_itemarray";if(${${"GLOBALS"}["bybnmmkxqia"]}!=""&&is_array(${$bmitklgoggz})){${"GLOBALS"}["rgovmxwvl"]="labinvoice_itemarray";${"GLOBALS"}["jyojlghzqms"]="auto_numberarray";$qxkrmybwiy="p";${$qxkrmybwiy}=0;${${"GLOBALS"}["jyojlghzqms"]}=$_POST["auto_number"];foreach(${${"GLOBALS"}["rgovmxwvl"]} as${${"GLOBALS"}["xzutfe"]}){${"GLOBALS"}["tlknebs"]="note";$gidmoe="p";$llpvmcutfbit="update_user";$podajwum="labitem_idarray";${"GLOBALS"}["ljddrcycbi"]="labinvoice_ratearray";${"GLOBALS"}["cdmvfjvf"]="auto_numberarray";${"GLOBALS"}["envtlog"]="labinvoicedetails_qty";${"GLOBALS"}["ipjjturgjzws"]="p";$cipxhnmo="auto_number";$mlppwmt="p";$ywypcbknn="labinvoicedetails_total";$fvhmdzj="labitem_id";${"GLOBALS"}["bdwqdblkawf"]="labinvoice_discarray";$wgdzuiu="labinvoicedetails_item";${$cipxhnmo}=${${"GLOBALS"}["cdmvfjvf"]}[${$gidmoe}];${"GLOBALS"}["ghigzht"]="labinvoice_itemarray";$qhcqcxsvh="update_user";${"GLOBALS"}["txqbhrnsxcg"]="p";${"GLOBALS"}["jelhfokbv"]="p";$sjghbawbffg="orderbyarray";${$fvhmdzj}=${$podajwum}[${${"GLOBALS"}["vojhojedsg"]}];${$wgdzuiu}=${${"GLOBALS"}["ghigzht"]}[${${"GLOBALS"}["vojhojedsg"]}];${$llpvmcutfbit}=${$qhcqcxsvh};${"GLOBALS"}["dtgbgikouri"]="labinvoicedetails_qty";${"GLOBALS"}["ejmgvwxd"]="p";${${"GLOBALS"}["tlknebs"]}=${${"GLOBALS"}["nncroyiai"]}[${$mlppwmt}];$bnsgjdhcb="labinvoice_discountparray";${"GLOBALS"}["ltqefbpomn"]="p";$csbovsyv="orderby";$czkxresozoe="p";${$csbovsyv}=${$sjghbawbffg}[${$czkxresozoe}];${${"GLOBALS"}["envtlog"]}=${${"GLOBALS"}["hgxogxclqco"]}[${${"GLOBALS"}["txqbhrnsxcg"]}];${${"GLOBALS"}["emdjmhuz"]}=${${"GLOBALS"}["ljddrcycbi"]}[${${"GLOBALS"}["jelhfokbv"]}];$vyxidvfceg="p";${${"GLOBALS"}["aildnezmigu"]}=${$bnsgjdhcb}[${${"GLOBALS"}["vojhojedsg"]}];${"GLOBALS"}["rybdcffr"]="sql";${${"GLOBALS"}["fnzksxuvwq"]}=${${"GLOBALS"}["bdwqdblkawf"]}[${${"GLOBALS"}["ltqefbpomn"]}];${$ywypcbknn}=${${"GLOBALS"}["gghoykned"]}[${${"GLOBALS"}["ipjjturgjzws"]}];${${"GLOBALS"}["ewvwjvlziwjx"]}=${${"GLOBALS"}["ieslldeq"]}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["iuydiejnpy"]}=${${"GLOBALS"}["cskduqfvny"]}[${${"GLOBALS"}["ejmgvwxd"]}];${${"GLOBALS"}["siwyhz"]}=date("Y-m-d h:i:s");${${"GLOBALS"}["ukawixwwlh"]}="update labinvoicedetails set `labinvoice_id` = '$labinvoice_id', 
														 `update_user` = '$update_user',
														 `note` = '$note',
														 `orderby` = '$orderby',
														 `status`='Deleted',
														 `labinvoicedetails_update` = '$labinvoicedetails_update'
												  	where auto_number = $auto_number";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["rybdcffr"]});if(${${"GLOBALS"}["dtgbgikouri"]}>0){$synvlewtm="labquery";$ijmsncmbi="sqlonerow";${"GLOBALS"}["ggiuxrp"]="labquery";${$ijmsncmbi}="select * from labitem where labitem_id = $labitem_id";${${"GLOBALS"}["ggiuxrp"]}=mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["ivvjegzd"]});if(${${"GLOBALS"}["bnjhvbearyn"]}&&mysqli_num_rows(${$synvlewtm})>0){$mojwbmgwlhzm="labquery";${"GLOBALS"}["ivglpgntpyjq"]="labrow";while(${${"GLOBALS"}["ivglpgntpyjq"]}=mysqli_fetch_array(${$mojwbmgwlhzm})){$fecoldpvnuy="updatesql";${${"GLOBALS"}["lkinbfv"]}=${${"GLOBALS"}["pvqtdxguh"]}["labitem_id"];$ppvxwmebfja="updatelabinvoice";$wmbqlgsvixg="labinvoicedetails_qty";${${"GLOBALS"}["xmftlnpof"]}=${${"GLOBALS"}["pvqtdxguh"]}["labitem_reagent"];${${"GLOBALS"}["ckjhqdrpyeye"]}=round(${${"GLOBALS"}["xmftlnpof"]}-${$wmbqlgsvixg});${$fecoldpvnuy}="update labitem set `labitem_reagent`='$currentstock_after_sale' where labitem_id=$labitem_id";${$ppvxwmebfja}=mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["vhzsbmcv"]});}}}${$vyxidvfceg}++;}}if(${${"GLOBALS"}["jifykx"]}){$lodtwxcr="labinvoice_itemarray";${"GLOBALS"}["cuuwlei"]="labinvoice_date";${"GLOBALS"}["fulhfjuvy"]="labinvoice_itemarray";${${"GLOBALS"}["cuuwlei"]}=$_POST["labinvoice_date"];if(${$lodtwxcr}!=""&&is_array(${${"GLOBALS"}["fulhfjuvy"]})){$gwflhnxlmwg="labinvoice_item";${${"GLOBALS"}["vojhojedsg"]}=0;foreach(${${"GLOBALS"}["bybnmmkxqia"]} as${$gwflhnxlmwg}){${"GLOBALS"}["hwqpjfff"]="p";$wqgobuy="p";${"GLOBALS"}["urcczktnzs"]="labinvoicedetails_sample";${"GLOBALS"}["uiwqggpq"]="labinvoice_ratearray";$rfkdugsf="user";${"GLOBALS"}["ncykxaoamvy"]="p";${"GLOBALS"}["olgaesrck"]="p";$hdoahscv="user";$erxxpxcjr="labinvoicedetails_pccomission";$fmktyyi="machine_name";${"GLOBALS"}["qhbqrhf"]="p";${${"GLOBALS"}["lkinbfv"]}=${${"GLOBALS"}["orvqdhheufq"]}[${$wqgobuy}];${"GLOBALS"}["vttvglqem"]="machine_namearray";${${"GLOBALS"}["otcksh"]}=${${"GLOBALS"}["bybnmmkxqia"]}[${${"GLOBALS"}["vojhojedsg"]}];${"GLOBALS"}["szdril"]="p";${"GLOBALS"}["vcvorwbqidsy"]="note";$noyjsxpob="labinvoicedetails_rate";${${"GLOBALS"}["xlwvkm"]}=${${"GLOBALS"}["jjnmnlefuhv"]}[${${"GLOBALS"}["vojhojedsg"]}];$ooqrdbg="p";$wabwyldxwz="labinvoicedetails_qty";$xofremehpg="labinvoice_pccomissionarray";${"GLOBALS"}["xeubeqmz"]="labinvoice_discarray";${${"GLOBALS"}["vetbsabqozgv"]}=${${"GLOBALS"}["ekljueumuu"]}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["dhdridomwye"]}=${${"GLOBALS"}["etihjmg"]}[${${"GLOBALS"}["vojhojedsg"]}];${"GLOBALS"}["lbftracevpi"]="labinvoice_refvaluearray";${"GLOBALS"}["plxcdmrdu"]="p";$faensur="labinvoice_testgrouparray";$cpjcyick="orderby";${"GLOBALS"}["uvbfbyqkmfp"]="notearray";${"GLOBALS"}["lgzkvim"]="labinvoicedetails_item";${"GLOBALS"}["nnxxwscsmr"]="p";${"GLOBALS"}["zvjljosd"]="p";$crwwuhu="orderbyarray";${${"GLOBALS"}["vcvorwbqidsy"]}=${${"GLOBALS"}["uvbfbyqkmfp"]}[${${"GLOBALS"}["olgaesrck"]}];$aovbrqk="p";${$cpjcyick}=${$crwwuhu}[${${"GLOBALS"}["qhbqrhf"]}];${${"GLOBALS"}["eddefjj"]}=${$faensur}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["urcczktnzs"]}=${${"GLOBALS"}["gtgslsbr"]}[${${"GLOBALS"}["szdril"]}];$syqelwd="labinvoice_discountparray";${$fmktyyi}=${${"GLOBALS"}["vttvglqem"]}[${${"GLOBALS"}["plxcdmrdu"]}];${$rfkdugsf}=${$hdoahscv};${${"GLOBALS"}["vrnwmhqgsw"]}=${${"GLOBALS"}["gdlulsmwfcn"]}[${${"GLOBALS"}["vojhojedsg"]}];${${"GLOBALS"}["jtjyjocc"]}=${${"GLOBALS"}["lbftracevpi"]}[${${"GLOBALS"}["vojhojedsg"]}];${$noyjsxpob}=${${"GLOBALS"}["uiwqggpq"]}[${${"GLOBALS"}["hwqpjfff"]}];${$wabwyldxwz}=${${"GLOBALS"}["hgxogxclqco"]}[${${"GLOBALS"}["ncykxaoamvy"]}];${${"GLOBALS"}["aildnezmigu"]}=${$syqelwd}[${$aovbrqk}];${"GLOBALS"}["shvjsb"]="labinvoicedetails_total";${${"GLOBALS"}["fnzksxuvwq"]}=${${"GLOBALS"}["xeubeqmz"]}[${${"GLOBALS"}["nnxxwscsmr"]}];${"GLOBALS"}["tmecgaxufu"]="labinvoice_totalarray";${${"GLOBALS"}["shvjsb"]}=${${"GLOBALS"}["tmecgaxufu"]}[${${"GLOBALS"}["vojhojedsg"]}];${$erxxpxcjr}=${$xofremehpg}[${$ooqrdbg}];${${"GLOBALS"}["iuydiejnpy"]}=${${"GLOBALS"}["cskduqfvny"]}[${${"GLOBALS"}["zvjljosd"]}];${${"GLOBALS"}["siwyhz"]}=${${"GLOBALS"}["flbptmtmi"]};if(${${"GLOBALS"}["lgzkvim"]}!=""){${${"GLOBALS"}["ukawixwwlh"]}="insert into labinvoicedetails set `labinvoice_id` = '$labinvoice_id',
															`labinvoice_patientid`='$labinvoice_patientid', 
															`labinvoice_patientcode`='$labinvoice_patientcode',
															`labinvoicedetails_item` = '$labinvoicedetails_item',
															`user` = '$user',
															`update_user` = '$update_user',
															`labinvoicedetails_update` = '$labinvoicedetails_update',
															`labinvoicedetails_group` = '$labinvoicedetails_group',
															`labinvoicedetails_category` = '$labinvoicedetails_category',
															`category` = '$category',
															`note` = '$note',
 															`labinvoicedetails_testgroup` = '$labinvoicedetails_testgroup',
															`labinvoicedetails_sample` = '$labinvoicedetails_sample',
															`machine_name` = '$machine_name',
															`labinvoicedetails_unit` = '$labinvoicedetails_unit',
															`labinvoicedetails_refvalue` = '$labinvoicedetails_refvalue',
															`labinvoicedetails_rate` = '$labinvoicedetails_rate',
															`labinvoicedetails_qty` = '$labinvoicedetails_qty',
															`labinvoicedetails_discountp` = '$labinvoicedetails_discountp',
															`labinvoicedetails_disc` = '$labinvoicedetails_disc',
															`labinvoicedetails_total` = '$labinvoicedetails_total',
															`labinvoicedetails_pccomission` = '$labinvoicedetails_pccomission',
															`labinvoicedetails_drcomission` = '$labinvoicedetails_drcomission',
															`labinvoicedetails_date` = '$labinvoice_date'";${"GLOBALS"}["cidmwbn"]="sql";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["cidmwbn"]});}${${"GLOBALS"}["vojhojedsg"]}++;}}if(${${"GLOBALS"}["rlxtlgtmfjs"]}==0){$kugvpdbwxyo="labinvoice_receiveamount";${${"GLOBALS"}["ohosjhh"]}=$_POST["labinvoice_subtotalafterdisc"];$bzkmwdnmhrl="labquery";$skhhrcukc="labquery";$bxbwlwuy="conn";$bbiblryk="sqlonerow";${$kugvpdbwxyo}=$_POST["labinvoice_receiveamount"];${${"GLOBALS"}["qbwppqtnn"]}=$_POST["labinvoice_due"];${$bbiblryk}="select * from labdue where labinvoice_id = $labinvoice_id";${$skhhrcukc}=mysqli_query(${$bxbwlwuy},${${"GLOBALS"}["ivvjegzd"]});if(${$bzkmwdnmhrl}&&mysqli_num_rows(${${"GLOBALS"}["bnjhvbearyn"]})>0){${"GLOBALS"}["jnobnxrtaq"]="labquery";while(${${"GLOBALS"}["pvqtdxguh"]}=mysqli_fetch_array(${${"GLOBALS"}["jnobnxrtaq"]})){${"GLOBALS"}["qjzpmmgw"]="labinvoice_patient";${"GLOBALS"}["ltetdjryid"]="labrow";$cvodefwpu="sql";$nqcsdsdry="sql";$mlivfpvf="labrow";$chzucswmkkx="labdue_id";${$chzucswmkkx}=${$mlivfpvf}["labdue_id"];$pdvkyx="labinvoice_id";${$pdvkyx}=${${"GLOBALS"}["ltetdjryid"]}["labinvoice_id"];${${"GLOBALS"}["rlxtlgtmfjs"]}=${${"GLOBALS"}["pvqtdxguh"]}["labinvoice_patientid"];${${"GLOBALS"}["qjzpmmgw"]}=${${"GLOBALS"}["pvqtdxguh"]}["labinvoice_patient"];${$cvodefwpu}="update labdue set  `labinvoice_id` = '$labinvoice_id', 
											`labinvoice_patientid` = '$labinvoice_patientid',
											`labinvoice_patientcode` = '$labinvoice_patientcode',
											`labinvoice_patient` = '$labinvoice_patient',
											`labinvoice_subtotalafterdisc`='$labinvoice_subtotalafterdisc',
											`labinvoice_receiveamount`='$labinvoice_receiveamount',
											`user`='$user',
											`labinvoice_due` = '$labinvoice_due'
									   where labdue_id = '$labdue_id'";mysqli_query(${${"GLOBALS"}["enqgytnte"]},${$nqcsdsdry});}}}if(${${"GLOBALS"}["ngyjzubyhbe"]}>=0){$wbvzygnu="labinvoice_due";${${"GLOBALS"}["ohosjhh"]}=$_POST["labinvoice_subtotalafterdisc"];${${"GLOBALS"}["crikevn"]}=$_POST["labinvoice_totaldisc"];${${"GLOBALS"}["ngyjzubyhbe"]}=$_POST["labinvoice_receiveamount"];${$wbvzygnu}=$_POST["labinvoice_due"];${${"GLOBALS"}["bioekx"]}=date("Y-m-d h:i:s");${"GLOBALS"}["vnylvvlm"]="labquery";${${"GLOBALS"}["ivvjegzd"]}="select * from dailytransection_lab where labinvoice_id = $labinvoice_id";${"GLOBALS"}["brxhqr"]="labquery";${${"GLOBALS"}["bnjhvbearyn"]}=mysqli_query(${${"GLOBALS"}["enqgytnte"]},${${"GLOBALS"}["ivvjegzd"]});if(${${"GLOBALS"}["vnylvvlm"]}&&mysqli_num_rows(${${"GLOBALS"}["brxhqr"]})>0){${"GLOBALS"}["tjqvtyi"]="labrow";while(${${"GLOBALS"}["tjqvtyi"]}=mysqli_fetch_array(${${"GLOBALS"}["bnjhvbearyn"]})){$bnnpdxq="labinvoice_address";${"GLOBALS"}["cirtpbmc"]="labinvoice_mobile";$nbkyiajwgj="labinvoice_patientid";${${"GLOBALS"}["knrytbetg"]}=${${"GLOBALS"}["pvqtdxguh"]}["dailytransection_lab_id"];$hkoxpeghot="labrow";$ohkrglg="labrow";$lpwmbijmz="labrow";$hcdzenj="sql";${"GLOBALS"}["wqlwhqupbhkn"]="conn";${$nbkyiajwgj}=${$hkoxpeghot}["labinvoice_patientid"];${${"GLOBALS"}["cirtpbmc"]}=${$ohkrglg}["labinvoice_mobile"];${$bnnpdxq}=${$lpwmbijmz}["labinvoice_address"];${$hcdzenj}="update dailytransection_lab  set   `labinvoice_patientid` = '$labinvoice_patientid',
														`labinvoice_patientcode`='$labinvoice_patientcode',
														`labinvoice_patient`='$labinvoice_patient',
														`labinvoice_mobile`='$labinvoice_mobile',
														`labinvoice_address`='$labinvoice_address',
														`labinvoice_pc`='$labinvoice_pc',
														`labinvoice_mpo`='$labinvoice_mpo',
														`ward`='$labinvoice_ward',
														`discount_amount`='$discount_amount',
														`update_user`='$update_user',
														`labinvoice_due`='$labinvoice_due',
														`labinvoice_id`='$labinvoice_id',
														`labinvoice_subtotalafterdisc`='$labinvoice_subtotalafterdisc',
														`dailytransection_lab_update`='$dailytransection_lab_update',
														`labinvoice_receiveamount`='$labinvoice_receiveamount'
									where dailytransection_lab_id='$dailytransection_lab_id' AND section='Lab Cash'";mysqli_query(${${"GLOBALS"}["wqlwhqupbhkn"]},${${"GLOBALS"}["ukawixwwlh"]});}}}header("location:index.php?p=statementbyinvoice&labinvoice_id=$labinvoice_id&message=update-success");}else{$_SESSION["labinvoice_id"]=${${"GLOBALS"}["ybirgfss"]};${"GLOBALS"}["grcqruoqi"]="labinvoice_patientid";${"GLOBALS"}["kryffsxtdqh"]="labinvoice_patient";$_SESSION["labinvoice_patientid"]=${${"GLOBALS"}["grcqruoqi"]};$_SESSION["labinvoice_patient"]=${${"GLOBALS"}["kryffsxtdqh"]};$puqvnjgg="labinvoice_pc";$trwxbocogyy="labinvoice_gender";$qwkzmn="labinvoice_address";$_SESSION["user"]=${${"GLOBALS"}["dmkxsvysy"]};${"GLOBALS"}["uyybywsv"]="labinvoice_mobile";${"GLOBALS"}["qponmhkugr"]="labinvoice_date";$_SESSION["labinvoice_age"]=${${"GLOBALS"}["jlvvjustgwb"]};$_SESSION["labinvoice_gender"]=${$trwxbocogyy};$udcnilqxu="labinvoice_totaldisc";${"GLOBALS"}["mlnwlupj"]="labinvoice_totalpccomission";${"GLOBALS"}["izlceubnnjg"]="labinvoice_doctor";$_SESSION["labinvoice_address"]=${$qwkzmn};$_SESSION["labinvoice_mobile"]=${${"GLOBALS"}["uyybywsv"]};$_SESSION["labinvoice_doctor"]=${${"GLOBALS"}["izlceubnnjg"]};${"GLOBALS"}["myxdgled"]="labinvoice_subtotalafterdisc";$_SESSION["labinvoice_pc"]=${$puqvnjgg};$_SESSION["labinvoice_mpo"]=${${"GLOBALS"}["wgfujroj"]};$_SESSION["labinvoice_subtotal"]=${${"GLOBALS"}["cdocpdys"]};$_SESSION["labinvoice_totaldiscp"]=${${"GLOBALS"}["nsxjhgwhci"]};$_SESSION["labinvoice_totaldisc"]=${$udcnilqxu};$_SESSION["labinvoice_totalpccomission"]=${${"GLOBALS"}["mlnwlupj"]};$_SESSION["labinvoice_subtotalafterdisc"]=${${"GLOBALS"}["myxdgled"]};$_SESSION["labinvoice_receiveamount"]=${${"GLOBALS"}["ngyjzubyhbe"]};${"GLOBALS"}["qnakxoxm"]="labinvoice_due";$_SESSION["labinvoice_description"]=${${"GLOBALS"}["hwlopwbhe"]};$_SESSION["labinvoice_duesholder"]=${${"GLOBALS"}["eudqvsvfngd"]};$_SESSION["labinvoice_due"]=${${"GLOBALS"}["qnakxoxm"]};$_SESSION["labinvoice_date"]=${${"GLOBALS"}["qponmhkugr"]};header("location:index.php?p=labinvoiceedit&message=error-update");}}}}else{header("location:index.php?p=labinvoice&message=field-missing");} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47LOB\x41\x4cS"}["\x68\x77\x6c\x6f\x70\x77\x62\x68e"]="\x6cab\x69n\x76\x6f\x69\x63\x65\x5f\x64esc\x72\x69\x70t\x69\x6f\x6e";${"G\x4c\x4f\x42\x41\x4cS"}["\x6es\x78j\x68\x67w\x68\x63\x69"]="l\x61\x62i\x6evo\x69\x63\x65\x5fto\x74\x61\x6c\x64\x69\x73\x63\x70";${"G\x4cO\x42ALS"}["\x63\x64\x6f\x63\x70\x64\x79\x73"]="la\x62i\x6e\x76o\x69\x63\x65\x5f\x73\x75\x62t\x6f\x74\x61l";${"\x47L\x4f\x42\x41\x4c\x53"}["\x77\x67fu\x6a\x72\x6f\x6a"]="\x6c\x61\x62\x69n\x76\x6f\x69\x63\x65_m\x70\x6f";${"G\x4c\x4f\x42\x41\x4c\x53"}["j\x6cvv\x6aus\x74\x67\x77\x62"]="l\x61\x62\x69\x6e\x76\x6f\x69c\x65\x5fa\x67e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x6er\x79tb\x65\x74\x67"]="da\x69\x6cy\x74\x72\x61n\x73e\x63\x74\x69\x6f\x6e\x5f\x6c\x61\x62\x5f\x69\x64";${"\x47L\x4fBA\x4cS"}["b\x69\x6f\x65\x6b\x78"]="\x64\x61\x69l\x79t\x72\x61n\x73\x65c\x74ion_\x6ca\x62\x5fu\x70\x64\x61\x74\x65";${"GLOB\x41\x4c\x53"}["\x66lb\x70\x74mt\x6d\x69"]="l\x61b\x69\x6e\x76\x6f\x69c\x65\x5f\x64\x61\x74\x65";${"GL\x4f\x42\x41\x4c\x53"}["\x65\x64\x64\x65\x66\x6a\x6a"]="\x6c\x61\x62\x69n\x76\x6f\x69\x63ede\x74\x61ils_\x74\x65\x73\x74gro\x75p";${"\x47\x4c\x4fB\x41LS"}["\x64hd\x72\x69\x64\x6fm\x77\x79\x65"]="\x63a\x74\x65\x67\x6f\x72\x79";${"\x47\x4c\x4f\x42\x41LS"}["\x65k\x6c\x6a\x75\x65\x75\x6d\x75\x75"]="la\x62i\x6e\x76\x6f\x69ce\x5f\x63at\x65go\x72\x79a\x72\x72\x61y";${"G\x4cOB\x41\x4cS"}["\x78\x6c\x77\x76k\x6d"]="lab\x69\x6e\x76\x6f\x69\x63\x65\x64e\x74\x61\x69l\x73_\x67\x72\x6f\x75\x70";${"\x47\x4c\x4fBA\x4cS"}["\x6a\x69\x66\x79k\x78"]="\x75p\x64\x61t\x65\x6c\x61b\x69nvo\x69\x63e";${"\x47\x4cO\x42\x41L\x53"}["\x63kj\x68\x71d\x72\x70y\x65ye"]="\x63u\x72r\x65\x6et\x73\x74\x6f\x63\x6b\x5f\x61\x66t\x65\x72\x5f\x73\x61\x6c\x65";${"\x47\x4c\x4f\x42AL\x53"}["\x78m\x66t\x6c\x6ep\x6f\x66"]="\x6cab\x69\x74em\x5f\x72\x65agen\x74";${"\x47L\x4f\x42\x41\x4cS"}["\x73iwy\x68\x7a"]="l\x61\x62\x69n\x76\x6f\x69c\x65d\x65\x74\x61\x69ls_u\x70d\x61te";${"\x47\x4cO\x42\x41\x4cS"}["\x61\x69\x6c\x64\x6eez\x6d\x69g\x75"]="l\x61b\x69\x6ev\x6f\x69c\x65\x64\x65ta\x69\x6c\x73\x5f\x64\x69s\x63\x6f\x75\x6e\x74p";${"\x47\x4c\x4fBA\x4cS"}["\x68\x67\x78o\x67\x78c\x6c\x71co"]="\x6ca\x62\x69\x6e\x76\x6fic\x65\x5f\x71\x74\x79\x61\x72\x72\x61y";${"\x47\x4c\x4f\x42A\x4cS"}["\x65\x61\x69\x62\x7a\x67rxdx"]="\x6c\x61\x62\x69n\x76\x6f\x69\x63\x65_\x66i\x6e\x61l\x64\x69\x73c";${"G\x4cO\x42A\x4c\x53"}["jkm\x74xl\x75\x6f"]="co\x6c\x6ce\x63\x74\x69\x6fn\x5fa\x6d\x6fu\x6e\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74plf\x76\x71\x74v\x75k\x73f"]="upd\x61\x74e\x5fu\x73\x65r";${"GL\x4fB\x41L\x53"}["\x75\x6cobur\x72m\x66\x72"]="\x69nv\x6f\x69\x63\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63r\x69\x6b\x65\x76n"]="d\x69s\x63o\x75\x6et\x5f\x61\x6d\x6funt";${"G\x4c\x4fB\x41\x4c\x53"}["qm\x6dxo\x65h"]="upd\x61\x74\x65\x73\x71\x6c\x64\x6f\x63t\x6frentr\x79";${"G\x4c\x4fB\x41L\x53"}["p\x6fmm\x64\x63"]="\x70r\x65\x76\x69ous\x5f\x70c\x5f\x63\x6f\x6d\x69\x73\x73i\x6f\x6e";${"\x47\x4c\x4f\x42A\x4cS"}["q\x64\x6ft\x75\x79s\x72r"]="\x70c\x5f\x63\x6f\x6d\x69\x73\x73i\x6f\x6e";${"\x47\x4cOB\x41\x4cS"}["t\x74\x73\x71\x65i\x6f\x76\x6c\x64"]="\x64\x6f\x63t\x6f\x72\x5f\x69d";${"\x47\x4c\x4fB\x41L\x53"}["\x76h\x7as\x62\x6dc\x76"]="\x75\x70\x64a\x74\x65s\x71\x6c";${"GL\x4f\x42\x41L\x53"}["\x6cc\x63\x64\x78\x63l"]="\x6c\x64\x75e";${"\x47LO\x42AL\x53"}["q\x72u\x62\x79u\x63\x73"]="\x6c\x72\x6fw";${"\x47\x4cOBAL\x53"}["\x72h\x68cy\x6a\x70k\x78"]="\x6c\x71\x75\x65ry";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77h\x63\x62\x6e\x77\x61\x63"]="\x73\x71\x6cd\x75\x65\x72\x6f\x77";${"\x47L\x4f\x42\x41L\x53"}["\x67\x70teir\x6bet\x68\x6b"]="\x65\x6dp\x6c\x6f\x79\x65\x6e\x61\x6d\x65\x65\x6e\x74\x72y\x5f\x69d";${"\x47L\x4f\x42\x41\x4c\x53"}["m\x73\x6a\x73\x64p\x71\x6bb"]="t\x6ft\x61l\x70\x63c\x6f\x6d\x69\x73si\x6f\x6e";${"\x47L\x4f\x42AL\x53"}["\x71\x67o\x6b\x6cb\x71\x75\x62x"]="\x6c\x61\x62\x5f\x64ue";${"\x47LO\x42\x41L\x53"}["\x71\x62\x77\x70\x70\x71\x74\x6e\x6e"]="la\x62\x69\x6e\x76\x6f\x69\x63\x65_d\x75e";${"\x47\x4c\x4f\x42\x41L\x53"}["\x62\x64\x63s\x78y\x75"]="\x6ca\x62_\x64\x75\x65T\x6ft\x61\x6c";${"\x47L\x4f\x42AL\x53"}["\x64fmzqn\x61\x78u"]="l\x61\x62T\x6ft\x61\x6c";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x61p\x77kqfiu\x74y\x6f"]="l\x61\x62\x69\x6e\x76\x6fi\x63e\x5f\x74o\x74\x61\x6cpcc\x6f\x6di\x73\x73io\x6e\x32";${"\x47\x4c\x4f\x42\x41L\x53"}["\x70v\x71\x74d\x78\x67uh"]="\x6ca\x62r\x6fw";${"GLO\x42AL\x53"}["b\x6e\x6a\x68\x76\x62\x65\x61\x72\x79n"]="\x6c\x61\x62\x71\x75\x65\x72y";${"\x47L\x4fB\x41L\x53"}["\x69vv\x6a\x65g\x7a\x64"]="\x73\x71l\x6f\x6ee\x72\x6fw";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64icz\x6ai\x72\x6a\x69\x6a\x65"]="la\x62\x69\x6e\x76\x6f\x69c\x65\x64\x65\x74\x61\x69\x6cs\x5f\x74\x6ft\x61\x6c";${"\x47L\x4f\x42\x41LS"}["\x70\x67\x79r\x6d\x6d\x75t\x74i\x69"]="\x6ca\x62\x69n\x76\x6f\x69\x63\x65\x64et\x61\x69\x6c\x73\x5fqty";${"\x47L\x4f\x42ALS"}["e\x6dd\x6a\x6d\x68u\x7a"]="\x6c\x61b\x69\x6e\x76\x6f\x69\x63ed\x65\x74\x61\x69\x6cs_\x72\x61\x74\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["j\x74\x6a\x79j\x6f\x63\x63"]="\x6c\x61\x62\x69\x6e\x76\x6f\x69c\x65\x64\x65\x74\x61\x69\x6cs\x5fr\x65\x66\x76\x61\x6cue";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x6dkx\x73\x76\x79\x73\x79"]="user";${"\x47\x4c\x4f\x42A\x4cS"}["gtgsl\x73\x62\x72"]="\x6cab\x69\x6ev\x6fi\x63e\x5f\x73\x61m\x70le\x61\x72\x72\x61y";${"\x47L\x4f\x42\x41LS"}["\x6cki\x6eb\x66v"]="l\x61\x62i\x74\x65\x6d_\x69\x64";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x6b\x61wi\x78\x77wlh"]="s\x71\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x74\x63k\x73\x68"]="\x6c\x61binv\x6f\x69\x63\x65\x64e\x74\x61\x69\x6c\x73_\x69te\x6d";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x73k\x64uqfvn\x79"]="\x6c\x61b\x69\x6e\x76o\x69\x63e_\x64\x72\x63om\x69\x73\x73io\x6e\x61r\x72a\x79";${"\x47L\x4f\x42\x41L\x53"}["i\x75\x79d\x69\x65\x6an\x70\x79"]="lab\x69\x6e\x76o\x69\x63\x65d\x65\x74\x61\x69ls\x5f\x64\x72\x63\x6f\x6d\x69\x73\x73\x69\x6fn";${"G\x4c\x4f\x42A\x4c\x53"}["\x69\x65s\x6cl\x64\x65\x71"]="\x6c\x61binv\x6f\x69\x63e_\x70\x63c\x6f\x6di\x73\x73i\x6f\x6e\x61\x72r\x61\x79";${"\x47\x4cO\x42\x41\x4c\x53"}["\x65w\x76\x77\x6av\x6cz\x69\x77j\x78"]="\x6c\x61b\x69\x6ev\x6f\x69\x63e\x64e\x74\x61\x69l\x73_\x70\x63co\x6d\x69s\x73i\x6fn";${"GL\x4f\x42\x41\x4cS"}["\x66nz\x6b\x73\x78u\x76\x77q"]="\x6c\x61bi\x6e\x76\x6f\x69\x63\x65\x64\x65\x74a\x69ls\x5f\x64\x69\x73c";${"\x47\x4cO\x42ALS"}["\x69\x74c\x63nwc\x66"]="l\x61b\x69\x6e\x76\x6f\x69\x63e\x5f\x64\x69\x73\x63\x6f\x75\x6e\x74p\x61\x72\x72\x61\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76rn\x77\x6dh\x71\x67\x73w"]="l\x61\x62\x69\x6ev\x6f\x69c\x65det\x61\x69l\x73\x5f\x75\x6eit";${"\x47LO\x42A\x4cS"}["\x6a\x65\x71\x61m\x75rx\x71\x7a\x6c"]="\x6d\x61\x63\x68\x69\x6e\x65\x5f\x6eame\x61\x72r\x61\x79";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x66\x78x\x76\x68\x7a"]="\x6d\x61c\x68\x69\x6e\x65_\x6e\x61m\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["x\x6ed\x6b\x62x\x6dr"]="la\x62\x69n\x76\x6f\x69\x63ed\x65\x74a\x69ls\x5f\x73\x61m\x70l\x65";${"GLO\x42\x41\x4c\x53"}["d\x69i\x6dsu\x62\x63\x6d\x6dm"]="la\x62in\x76\x6f\x69\x63\x65_\x74\x65\x73t\x67\x72\x6f\x75\x70a\x72r\x61y";${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x63\x66p\x74y\x76m\x69"]="orde\x72\x62y";${"G\x4c\x4f\x42A\x4c\x53"}["v\x65t\x62s\x61b\x71\x6f\x7a\x67v"]="\x6c\x61\x62\x69\x6e\x76o\x69\x63\x65\x64\x65\x74a\x69\x6c\x73\x5fc\x61\x74\x65\x67\x6f\x72\x79";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6ajn\x6d\x6e\x6c\x65fuh\x76"]="l\x61b\x69\x6ev\x6f\x69\x63e\x5f\x67\x72\x6fup\x61r\x72a\x79";${"\x47L\x4f\x42\x41\x4cS"}["\x78zu\x74fe"]="\x6c\x61b\x69nvoic\x65\x5f\x69\x74\x65m";${"\x47\x4cO\x42\x41\x4c\x53"}["\x76ojh\x6fj\x65d\x73\x67"]="\x70";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76w\x69\x67\x69\x66\x70\x6dt"]="\x6d\x6fnt\x68\x5f\x73er\x69\x61\x6c";${"\x47L\x4fBAL\x53"}["\x6f\x73p\x70\x64rxu"]="\x6c\x61b\x69\x74e\x6dro\x77";${"\x47\x4cOBA\x4c\x53"}["\x7a\x65\x67\x77v\x74\x6birn"]="\x4d\x53\x4cS\x71\x6c";${"\x47\x4c\x4f\x42\x41LS"}["\x65\x6e\x71g\x79\x74\x6e\x74\x65"]="\x63\x6f\x6e\x6e";${"GL\x4fB\x41\x4c\x53"}["\x66\x73\x6da\x63\x76j"]="\x4d\x53\x4cO\x62\x6a";${"G\x4c\x4fBA\x4c\x53"}["\x6f\x68os\x6a\x68\x68"]="la\x62\x69nv\x6fi\x63e_\x73\x75b\x74\x6f\x74a\x6ca\x66\x74\x65\x72\x64\x69s\x63";${"\x47L\x4fB\x41L\x53"}["\x79\x62irg\x66s\x73"]="la\x62i\x6ev\x6f\x69\x63\x65\x5fi\x64";${"GL\x4f\x42\x41\x4c\x53"}["t\x74h\x71\x78\x6e"]="i\x70\x61d\x64\x72\x65\x73s";${"G\x4cO\x42A\x4c\x53"}["\x73jemro\x75"]="u\x68\x69\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["ng\x79j\x7au\x62\x79\x68\x62\x65"]="l\x61\x62in\x76\x6fice\x5fr\x65\x63\x65i\x76\x65a\x6d\x6f\x75\x6et";${"\x47L\x4fB\x41\x4c\x53"}["\x65\x75d\x71\x76\x73\x76\x66n\x67\x64"]="\x6c\x61\x62in\x76\x6f\x69\x63e\x5f\x64\x75\x65s\x68\x6f\x6c\x64e\x72";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6dieod\x78\x63\x69"]="\x65\x6der\x67\x65\x6ecy";${"\x47\x4cO\x42\x41\x4c\x53"}["f\x68\x66\x63\x66x\x67\x64\x77"]="\x65m\x65r\x67\x65n\x63\x79p";${"G\x4c\x4fB\x41L\x53"}["\x6a\x79\x66h\x6c\x63od\x63\x6d"]="l\x61b\x69n\x76o\x69c\x65\x5f\x74\x6f\x74\x61\x6cd\x69sc";${"\x47L\x4f\x42\x41\x4cS"}["\x73\x6bs\x7al\x67\x66a"]="\x6c\x61bi\x6e\x76\x6f\x69c\x65\x5f\x74o\x74a\x6cd\x72\x63o\x6d\x69\x73\x73io\x6e";${"G\x4c\x4fB\x41L\x53"}["\x6bt\x6e\x77xhl"]="\x70\x72\x65\x76\x69\x6fus\x5f\x6c\x61b\x69\x6e\x76o\x69c\x65_\x74\x6ftalp\x63\x63\x6fm\x69s\x73\x69\x6f\x6e";${"\x47\x4c\x4fB\x41L\x53"}["v\x77\x73\x6cuv\x6f\x63\x75\x65"]="or\x64e\x72\x62\x79\x61\x72\x72a\x79";${"\x47\x4c\x4fBALS"}["n\x6e\x63\x72o\x79i\x61i"]="\x6e\x6f\x74\x65ar\x72\x61y";${"\x47\x4c\x4f\x42\x41LS"}["\x65t\x69\x68\x6a\x6dg"]="\x63a\x74\x65\x67ory\x61\x72\x72\x61\x79";${"\x47LO\x42AL\x53"}["gghoy\x6b\x6e\x65d"]="la\x62i\x6e\x76oi\x63\x65_\x74o\x74a\x6car\x72\x61\x79";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x6ej\x6cfa\x79\x6e\x70\x70e"]="\x6c\x61\x62\x69\x6e\x76o\x69\x63\x65_\x64\x69\x73c\x61\x72\x72\x61\x79";${"\x47LOBAL\x53"}["\x78\x69k\x66c\x6f\x6fjv"]="\x6c\x61b\x69\x6e\x76\x6f\x69ce\x5f\x72\x61\x74ea\x72r\x61\x79";${"GL\x4fB\x41\x4c\x53"}["oc\x76\x6dxk\x6be"]="l\x61\x62i\x6e\x76\x6fi\x63\x65\x5f\x72\x65\x66va\x6c\x75\x65ar\x72\x61\x79";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67\x64l\x75ls\x6d\x77\x66\x63\x6e"]="la\x62\x69n\x76\x6fic\x65_\x75ni\x74\x61\x72\x72a\x79";${"\x47L\x4f\x42\x41\x4c\x53"}["b\x79\x62\x6em\x6dk\x78qi\x61"]="\x6c\x61\x62\x69\x6e\x76\x6f\x69\x63e\x5f\x69\x74\x65m\x61rr\x61\x79";${"GL\x4f\x42\x41\x4cS"}["\x6fr\x76\x71\x64h\x68e\x75f\x71"]="\x6c\x61bi\x74\x65\x6d\x5f\x69\x64\x61\x72\x72\x61y";${"G\x4c\x4f\x42AL\x53"}["r\x64\x73\x79\x78g\x6b\x75\x64"]="\x62a\x62\x79\x64\x6f\x6e\x6e\x65\x72";${"\x47\x4cO\x42\x41\x4cS"}["\x71z\x62\x79\x63\x75\x62ei\x6ce"]="\x6c\x61\x62\x69n\x76o\x69\x63\x65\x5f\x77\x61r\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76l\x63\x67u\x68z\x65bb\x78"]="l\x61b\x69\x6e\x76oi\x63e\x5f\x70\x63";${"\x47\x4c\x4fBA\x4c\x53"}["\x66l\x65\x6e\x72\x6a\x7a\x72ys"]="lab\x69\x6ev\x6f\x69\x63\x65\x5f\x64\x6f\x63t\x6f\x72";${"\x47\x4cO\x42\x41\x4c\x53"}["o\x6a\x61w\x68\x62tv\x70\x63"]="\x6cabi\x6e\x76\x6f\x69\x63e_g\x65\x6e\x64\x65\x72";${"\x47LO\x42\x41\x4c\x53"}["\x77\x6dn\x66\x74kk\x67\x76"]="b\x61r";${"G\x4c\x4f\x42\x41L\x53"}["w\x6f\x6f\x63q\x79\x62"]="\x61g\x65";${"\x47L\x4fBA\x4c\x53"}["by\x6b\x6b\x6b\x79\x62\x65\x79\x70\x77q"]="\x6cab\x69\x6e\x76\x6f\x69\x63\x65\x5f\x70\x61tie\x6et";${"\x47L\x4fB\x41\x4cS"}["\x72\x6c\x78\x74lgt\x6dfjs"]="\x6cab\x69\x6e\x76oic\x65_\x70\x61\x74i\x65n\x74\x69\x64";date_default_timezone_set("\x41\x73i\x61/\x44\x68\x61k\x61");if(isset($_POST["\x73ubm\x69\x74_in\x76\x6fice"])){${"GL\x4fB\x41\x4c\x53"}["\x76\x65\x68\x66\x73ti\x79n"]="\x6c\x61b\x69\x6e\x76\x6f\x69c\x65\x5fs\x75\x62t\x6f\x74a\x6ca\x66\x74\x65\x72\x64i\x73c";${"\x47LO\x42\x41\x4cS"}["\x65\x67\x7a\x79y\x79"]="l\x61\x62\x69\x6evo\x69\x63\x65\x5fid";$dgevlpfj="\x6c\x61\x62in\x76\x6f\x69\x63e\x5f\x70\x72ev\x69\x6f\x75s\x64\x75\x65";${"\x47L\x4f\x42\x41L\x53"}["\x70\x76\x62\x65\x63rdo"]="\x6cab\x69\x6e\x76\x6f\x69\x63\x65\x5f\x67\x72\x6f\x75p\x61\x72r\x61\x79";$kjkmuoc="l\x61b\x69n\x76o\x69\x63\x65\x5fp\x61ti\x65\x6e\x74c\x6fd\x65";$pnfgqqjefy="l\x61binvo\x69\x63\x65_su\x62\x74\x6fta\x6c";$kckdxeoeg="\x6c\x61\x62in\x76o\x69\x63e\x5f\x74e\x73\x74gro\x75\x70\x61\x72\x72\x61y";$xbqlunhmfy="la\x62\x69n\x76o\x69\x63e\x5f\x6d\x6f\x62\x69\x6c\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x67\x7ay\x79\x79"]}=$_POST["\x6cab\x69\x6evoi\x63e_\x69d"];${"\x47\x4c\x4f\x42AL\x53"}["i\x71s\x75\x70\x66r\x63\x69"]="\x6ca\x62\x69\x6e\x76\x6fice\x5fa\x64\x64r\x65\x73s";${${"GL\x4f\x42A\x4c\x53"}["r\x6c\x78t\x6cg\x74\x6d\x66\x6a\x73"]}=$_POST["labinvo\x69ce\x5f\x70\x61\x74ie\x6et\x69\x64"];${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x72\x61\x72x\x6ab\x65d"]="\x6c\x61\x62\x69\x6ev\x6f\x69c\x65\x5f\x61\x67\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69dr\x6f\x6b\x64\x71\x6e"]="\x6c\x61\x62\x69nv\x6f\x69\x63\x65_\x70c\x63o\x6di\x73s\x69o\x6e\x61\x72\x72ay";$yqibnwhwnhr="d\x6fct\x6fr\x5f\x6d\x6f\x62\x69\x6ce";$yowpfrvyp="\x6c\x61b\x69\x6ev\x6f\x69c\x65_sa\x6d\x70le\x61rr\x61\x79";$kowllbbceywq="l\x61b\x69nv\x6f\x69c\x65\x5fq\x74\x79\x61r\x72a\x79";${$kjkmuoc}=$_POST["\x6c\x61\x62i\x6evoi\x63\x65_p\x61t\x69\x65nt\x63\x6f\x64\x65"];$sdnxlxzcm="\x6d\x61c\x68\x69\x6ee\x5f\x6ea\x6de\x61\x72\x72\x61\x79";${${"G\x4c\x4f\x42\x41\x4c\x53"}["b\x79\x6b\x6b\x6b\x79\x62e\x79\x70w\x71"]}=addslashes($_POST["la\x62in\x76\x6f\x69c\x65_p\x61t\x69\x65\x6et"]);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ar\x61\x72x\x6a\x62\x65d"]}=$_POST["\x6c\x61b\x69nvo\x69ce\x5f\x61g\x65"];${${"\x47L\x4f\x42\x41\x4c\x53"}["\x77\x6f\x6f\x63\x71yb"]}=$_POST["\x61g\x65"];${${"\x47\x4cOBA\x4c\x53"}["\x77\x6d\x6e\x66\x74\x6b\x6bg\x76"]}=$_POST["\x62\x61\x72"];${${"\x47\x4cOBAL\x53"}["\x6f\x6a\x61\x77\x68\x62t\x76\x70\x63"]}=$_POST["\x6c\x61binv\x6fic\x65\x5fg\x65\x6e\x64\x65\x72"];${${"G\x4c\x4f\x42\x41\x4cS"}["\x69\x71\x73u\x70\x66\x72c\x69"]}=addslashes($_POST["\x6ca\x62\x69n\x76\x6fi\x63\x65_\x61d\x64\x72e\x73\x73"]);$hbhihxc="u\x73e\x72";${"G\x4cO\x42\x41\x4cS"}["jvyv\x7a\x70\x6fh"]="\x6cab\x69n\x76\x6f\x69ce\x5f\x6d\x70o";$jyisuro="\x6c\x61\x62\x69n\x76\x6f\x69c\x65_d\x72\x63\x6fm\x69\x73\x73\x69\x6f\x6e\x61r\x72\x61\x79";${$xbqlunhmfy}=$_POST["la\x62\x69nv\x6f\x69\x63e\x5fmo\x62i\x6c\x65"];${${"GL\x4f\x42\x41\x4cS"}["\x66\x6c\x65\x6erj\x7ar\x79s"]}=addslashes($_POST["\x6c\x61b\x69n\x76oic\x65_do\x63\x74or"]);$sichvjppwex="l\x61b\x69\x6evoi\x63\x65_\x73ub\x74\x6ft\x61la\x66\x74\x65rd\x69\x73\x63";${"\x47\x4c\x4f\x42A\x4c\x53"}["gyxn\x6el\x68l\x63\x70\x66d"]="la\x62\x69\x6e\x76\x6f\x69ce\x5fc\x61\x74\x65\x67\x6f\x72\x79a\x72\x72a\x79";${${"\x47L\x4f\x42\x41\x4cS"}["vl\x63\x67\x75\x68\x7a\x65b\x62\x78"]}=addslashes($_POST["lab\x69n\x76oice\x5fp\x63"]);${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6a\x76\x79v\x7ap\x6fh"]}=addslashes($_POST["\x6ca\x62\x69\x6e\x76o\x69\x63\x65\x5f\x6d\x70\x6f"]);$ucksof="\x6c\x61b\x69nv\x6f\x69\x63e\x5ft\x6ft\x61\x6cd\x69\x73\x63\x70";$wyiasbs="la\x62\x69\x6e\x76oi\x63\x65\x5f\x64u\x65";${$yqibnwhwnhr}=addslashes($_POST["doct\x6fr\x5f\x6d\x6fbi\x6c\x65"]);${${"\x47\x4c\x4f\x42A\x4cS"}["q\x7a\x62y\x63\x75be\x69\x6ce"]}=addslashes($_POST["\x6cab\x69nvo\x69ce_ward"]);${${"\x47\x4cOB\x41\x4cS"}["\x72\x64s\x79\x78\x67\x6b\x75\x64"]}=addslashes($_POST["\x62\x61b\x79d\x6fnne\x72"]);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6fr\x76\x71d\x68\x68e\x75\x66\x71"]}=$_POST["\x6cabi\x74\x65m_id"];${${"GL\x4f\x42\x41LS"}["by\x62\x6e\x6dm\x6bx\x71i\x61"]}=$_POST["\x6c\x61\x62\x69\x6evo\x69ce\x5f\x69\x74\x65m"];${${"\x47\x4c\x4fBA\x4c\x53"}["pv\x62ecr\x64\x6f"]}=$_POST["l\x61\x62invoi\x63e_\x67ro\x75\x70"];$nenfyzithfg="\x6c\x61\x62i\x6ev\x6f\x69\x63\x65_\x74\x6f\x74\x61\x6c\x70\x63\x63\x6f\x6di\x73\x73i\x6f\x6e";$jxplbqvve="do\x63to\x72\x5f\x69\x64";${${"\x47\x4cO\x42\x41\x4c\x53"}["gyx\x6e\x6elh\x6c\x63p\x66d"]}=$_POST["l\x61bi\x6e\x76\x6fic\x65\x5f\x63a\x74\x65g\x6fr\x79"];${"\x47\x4cO\x42\x41\x4c\x53"}["\x6deowqrc\x67\x64"]="l\x61b\x69\x6evoic\x65\x5f\x64\x69\x73\x63\x6f\x75\x6e\x74\x70\x61\x72\x72\x61\x79";${$kckdxeoeg}=$_POST["\x6cabi\x6ev\x6f\x69\x63\x65\x5fte\x73\x74\x67\x72\x6f\x75p"];${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x61q\x6a\x62q\x62"]="\x63r\x65\x61\x74\x65\x64\x5f\x64a\x74\x65";${$yowpfrvyp}=$_POST["l\x61bi\x6ev\x6f\x69ce_\x73\x61\x6dple"];${$sdnxlxzcm}=$_POST["m\x61chin\x65\x5fn\x61\x6de"];${"\x47\x4c\x4f\x42A\x4c\x53"}["jdri\x71\x72\x79\x69\x6en\x67"]="l\x61\x62\x69\x6ev\x6f\x69ce_\x72\x65\x63\x65\x69v\x65\x61\x6do\x75\x6e\x74";${${"\x47\x4cOB\x41L\x53"}["\x67\x64\x6cu\x6c\x73\x6d\x77\x66c\x6e"]}=$_POST["\x6cab\x69\x6e\x76oi\x63\x65\x5f\x75n\x69t"];${${"\x47\x4c\x4f\x42\x41L\x53"}["o\x63\x76m\x78kk\x65"]}=$_POST["\x6cabin\x76\x6f\x69\x63e\x5f\x72e\x66\x76a\x6cue"];${${"\x47\x4cO\x42\x41L\x53"}["\x78\x69\x6b\x66c\x6f\x6fjv"]}=$_POST["\x6c\x61bin\x76\x6fic\x65\x5frate"];${$kowllbbceywq}=$_POST["lab\x69n\x76\x6f\x69\x63e_\x71ty"];${${"\x47L\x4fBALS"}["\x6d\x65\x6f\x77\x71r\x63\x67d"]}=$_POST["\x6ca\x62\x69nv\x6f\x69\x63\x65_d\x69scou\x6etp"];${${"\x47L\x4f\x42\x41L\x53"}["\x6bn\x6a\x6c\x66\x61\x79\x6e\x70\x70\x65"]}=$_POST["\x6cabinv\x6f\x69\x63e\x5fdisc"];${${"G\x4c\x4f\x42\x41L\x53"}["\x67g\x68\x6fy\x6b\x6eed"]}=$_POST["l\x61binvoic\x65_to\x74\x61l"];${"\x47\x4cO\x42\x41L\x53"}["\x6e\x71u\x6awk\x65\x79by"]="\x6c\x61b\x69n\x76\x6f\x69c\x65\x5fd\x65\x73\x63r\x69ptio\x6e";${${"\x47LO\x42AL\x53"}["\x69\x64r\x6f\x6bdq\x6e"]}=$_POST["\x6cabinvoic\x65_\x70c\x63om\x69s\x73\x69o\x6e"];${$jyisuro}=$_POST["\x6cabin\x76\x6f\x69c\x65_drc\x6fmi\x73si\x6f\x6e"];$xqsvmeddwcnp="\x70\x72e\x76\x69o\x75s\x5f\x70\x63\x5f\x63o\x6di\x73si\x6f\x6e";${${"\x47L\x4f\x42A\x4c\x53"}["e\x74\x69\x68\x6a\x6d\x67"]}=$_POST["\x63\x61t\x65g\x6f\x72\x79"];${${"\x47L\x4fB\x41\x4cS"}["\x6e\x6ec\x72\x6f\x79i\x61\x69"]}=$_POST["\x6eo\x74e"];${${"G\x4c\x4f\x42\x41\x4cS"}["vw\x73l\x75\x76o\x63\x75\x65"]}=$_POST["\x6frd\x65rby"];${$jxplbqvve}=$_POST["d\x6f\x63t\x6fr_id"];$erjtpvy="\x6c\x61b\x69\x6evoi\x63\x65_\x64ate";${${"\x47\x4cO\x42\x41L\x53"}["\x6b\x74\x6e\x77xhl"]}=$_POST["p\x72e\x76\x69\x6f\x75\x73_l\x61b\x69\x6evoic\x65\x5f\x74o\x74al\x70\x63c\x6f\x6d\x69s\x73\x69\x6f\x6e"];${$nenfyzithfg}=$_POST["\x6ca\x62\x69\x6evoic\x65_to\x74alpc\x63om\x69\x73\x73\x69o\x6e"];${$xqsvmeddwcnp}=$_POST["p\x72\x65v\x69\x6f\x75\x73_\x70c\x5f\x63\x6f\x6d\x69s\x73\x69on"];${${"\x47LO\x42A\x4c\x53"}["\x73ksz\x6cg\x66\x61"]}=$_POST["\x6c\x61\x62\x69\x6evoice_tot\x61ld\x72com\x69s\x73io\x6e"];${$pnfgqqjefy}=$_POST["l\x61b\x69\x6ev\x6f\x69\x63\x65\x5f\x73\x75\x62\x74ota\x6c"];${$ucksof}=$_POST["l\x61binv\x6f\x69\x63e\x5f\x74o\x74\x61ldi\x73\x63\x70"];$aqsunavtmcy="use\x72";${${"GLO\x42\x41\x4c\x53"}["j\x79fh\x6c\x63\x6f\x64\x63m"]}=$_POST["\x6c\x61\x62invoi\x63e\x5ft\x6f\x74\x61\x6c\x64i\x73\x63"];${${"\x47\x4cO\x42\x41\x4cS"}["fhf\x63\x66\x78\x67\x64\x77"]}=$_POST["\x65\x6d\x65\x72gen\x63\x79\x70"];${${"\x47\x4c\x4f\x42\x41LS"}["m\x69\x65\x6f\x64xci"]}=$_POST["eme\x72\x67\x65\x6ec\x79"];${$sichvjppwex}=$_POST["\x6c\x61b\x69\x6e\x76oic\x65_s\x75\x62\x74\x6f\x74a\x6ca\x66te\x72\x64i\x73\x63"];${${"GL\x4f\x42\x41LS"}["\x6a\x64\x72\x69\x71ry\x69\x6eng"]}=$_POST["\x6c\x61b\x69\x6e\x76o\x69\x63e\x5f\x72eceive\x61\x6d\x6fu\x6e\x74"];${${"\x47L\x4f\x42A\x4c\x53"}["n\x71\x75\x6a\x77\x6be\x79\x62\x79"]}=$_POST["lab\x69\x6evoic\x65\x5fd\x65\x73\x63ri\x70tion"];${${"G\x4c\x4f\x42\x41L\x53"}["\x65u\x64\x71\x76\x73\x76\x66\x6eg\x64"]}=$_POST["lab\x69n\x76\x6f\x69\x63e\x5f\x64\x75es\x68\x6f\x6c\x64e\x72"];${$wyiasbs}=${${"GLO\x42\x41\x4c\x53"}["\x76eh\x66\x73t\x69\x79n"]}-${${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x67y\x6az\x75b\x79\x68\x62e"]};${$dgevlpfj}=$_POST["\x6c\x61b\x69\x6e\x76o\x69c\x65_p\x72e\x76i\x6fusdu\x65"];${$erjtpvy}=date("\x59-m-d h:i:s");${"GLO\x42AL\x53"}["\x6c\x61\x6e\x69p\x62\x79\x78\x75\x65"]="\x6c\x61\x62\x69\x6e\x76\x6fice\x5f\x64\x65li\x76\x65\x72\x79\x64\x61t\x65";${${"\x47\x4c\x4fBALS"}["e\x61\x71\x6a\x62\x71\x62"]}=date("Y-m-d");${${"G\x4c\x4f\x42\x41L\x53"}["\x6c\x61nip\x62y\x78\x75e"]}=$_POST["la\x62i\x6e\x76o\x69c\x65_d\x65\x6civ\x65r\x79da\x74e"];${$hbhihxc}=$_POST["\x75s\x65r"];${${"\x47\x4c\x4f\x42\x41L\x53"}["sj\x65\x6d\x72\x6f\x75"]}=date("\x79m\x64\x68\x69s");${${"\x47L\x4f\x42A\x4cS"}["\x74t\x68q\x78\x6e"]}=$_SERVER["R\x45\x4d\x4fTE\x5fAD\x44\x52"];require("l\x61bd\x64.\x70h\x70");if(${${"GLO\x42A\x4cS"}["y\x62\x69\x72g\x66\x73s"]}==0&&${$aqsunavtmcy}!=""){$derbbl="l\x61\x62\x69\x6e\x76\x6f\x69\x63\x65\x5fre\x63eive\x61\x6do\x75\x6e\x74";if(${$derbbl}<=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6fh\x6f\x73\x6a\x68\x68"]}){${"\x47\x4cO\x42\x41LS"}["v\x77c\x61\x64\x6d\x75\x65"]="\x4c\x61bInv\x59M";${"\x47\x4cO\x42\x41\x4c\x53"}["\x74w\x67\x6c\x71\x6cu\x68m\x69"]="m\x6f\x6e\x74\x68\x5fser\x69a\x6c";$xncwgctvr="labi\x6e\x76oi\x63\x65_d\x61\x74e";$krpkojrp="M\x53L\x53\x71\x6c";${${"GLOB\x41\x4cS"}["\x74w\x67\x6c\x71lu\x68\x6d\x69"]}=1;$yqylkldydmp="\x63o\x6e\x6e";${${"\x47\x4c\x4f\x42A\x4c\x53"}["v\x77\x63\x61d\x6du\x65"]}=substr(${$xncwgctvr},0,7);${"GL\x4fB\x41\x4c\x53"}["\x72m\x68i\x72\x6b\x72\x75\x68u\x68"]="\x4d\x53\x4c\x4fb\x6a";${"\x47L\x4fB\x41\x4cS"}["\x6d\x63g\x6b\x7a\x73ws\x78h"]="\x73\x71l";${$krpkojrp}="SE\x4cEC\x54\x20\x6d\x6f\x6eth\x5fs\x65r\x69\x61l FR\x4f\x4d\x20l\x61\x62invoice W\x48\x45\x52\x45 SU\x42S\x54\x52\x49\x4eG(la\x62\x69\x6ev\x6fice_date, \x31,\x20\x37) = '$LabInvYM'\x20O\x52\x44E\x52\x20\x42Y \x6dont\x68_\x73\x65\x72i\x61l\x20\x44ESC\x20L\x49MI\x54 \x30, \x31";${${"G\x4c\x4f\x42A\x4cS"}["\x66s\x6d\x61\x63\x76\x6a"]}=mysqli_query(${${"G\x4cOBAL\x53"}["\x65\x6e\x71g\x79\x74\x6et\x65"]},${${"\x47LO\x42\x41LS"}["\x7a\x65gw\x76t\x6b\x69rn"]});$cfkdueku="\x73q\x6c";$indqwknfqyg="\x69\x6e\x73\x65r\x74l\x61\x62\x69n\x76\x6f\x69c\x65";$ppaeoab="\x75\x73\x65r";if(${${"\x47\x4c\x4fBAL\x53"}["\x72m\x68\x69\x72\x6br\x75\x68uh"]}&&mysqli_num_rows(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x73\x6da\x63\x76\x6a"]})>0){${"\x47\x4cO\x42\x41\x4cS"}["f\x65mf\x67\x68\x72\x72"]="\x4d\x53\x4c\x4f\x62j";while(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x73\x70p\x64r\x78u"]}=mysqli_fetch_array(${${"\x47L\x4f\x42\x41\x4cS"}["fe\x6dfg\x68\x72\x72"]})){${"\x47L\x4f\x42\x41LS"}["\x66w\x79\x64\x61\x76\x66\x77\x77\x70"]="la\x62i\x74\x65\x6dr\x6f\x77";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76wi\x67\x69\x66\x70\x6d\x74"]}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["fwyd\x61\x76\x66w\x77\x70"]}["mo\x6e\x74h_se\x72ia\x6c"]+1;}}${$cfkdueku}="ins\x65rt in\x74\x6f \x6c\x61bi\x6evo\x69\x63e se\x74\x20\x60lab\x69\x6e\x76o\x69ce_pat\x69\x65\x6eti\x64`\x3d'$labinvoice_patientid\x27, \n\t\t\t\t\t\t\t\t\t\t`\x6c\x61b\x69\x6evo\x69\x63\x65\x5f\x70\x61\x74\x69\x65\x6e\x74code\x60\x3d\x27$labinvoice_patientcode\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62\x69nvo\x69c\x65\x5fp\x61\x74\x69ent`='$labinvoice_patient\x27,\n\t\t\t\t\t\t\t\t\t\t`\x62aby\x64\x6f\x6en\x65\x72`\x3d\x27$babydonner\x27,\n\t\t\t\t\t\t\t\t\t\t\x60\x75s\x65\x72\x60\x3d\x27$user',\n\t\t\t\t\t\t\t\t\t\t\x60\x6e\x75\x6d\x62\x65\x72`=\x27\x31',\n\t\t\t\t\t\t\t\t\t\t\x60ba\x72`=\x27$bar',\n\t\t\t\t\t\t\t\t\t\t`\x75\x68id\x60=\x27$uhid',\n\t\t\t\t\t\t\t\t\t\t\x60ag\x65`\x3d\x27$age\x27,\n\t\t\t\t\t\t\t\t\t\t`\x69padd\x72\x65\x73\x73`\x3d'$ipaddress\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6cabinvoice_ag\x65`='$labinvoice_age', \n\t\t\t\t\t\t\t\t\t\t\x60lab\x69\x6e\x76\x6fice\x5fge\x6e\x64\x65\x72\x60\x3d'$labinvoice_gender\x27,\n\t\t\t\t\t\t\t\t\t\t`labi\x6e\x76oice\x5f\x61\x64dre\x73s`\x3d\x27$labinvoice_address',\n\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62\x69\x6e\x76\x6f\x69c\x65_\x6d\x6fb\x69le`='$labinvoice_mobile\x27,\n\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62invo\x69ce\x5f\x64\x6fcto\x72`\x3d\x27$labinvoice_doctor\x27,\x20\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61bin\x76oic\x65\x5fp\x63\x60=\x27$labinvoice_pc\x27,\n\t\t\t\t\t\t\t\t\t\t\x60la\x62\x69n\x76o\x69c\x65\x5f\x6dpo`=\x27$labinvoice_mpo',\n\t\t\t\t\t\t\t\t\t\t`d\x6fct\x6fr_mob\x69\x6c\x65`=\x27$doctor_mobile',\n\t\t\t\t\t\t\t\t\t\t\x60l\x61\x62i\x6e\x76\x6f\x69ce_w\x61rd\x60\x3d'$labinvoice_ward\x27,\n\t\t\t\t\t\t\t\t\t\t`labi\x6ev\x6fic\x65_s\x75\x62\x74ot\x61l\x60\x3d\x27$labinvoice_subtotal',\n\t\t\t\t\t\t\t\t\t\t`l\x61b\x69\x6e\x76o\x69c\x65\x5ft\x6f\x74al\x64\x69\x73\x63p\x60\x3d\x27$labinvoice_totaldiscp',\n\t\t\t\t\t\t\t\t\t\t\x60labi\x6evo\x69\x63e_tot\x61\x6c\x64\x69s\x63`=\x27$labinvoice_totaldisc',\n\t\t\t\t\t\t\t\t\t\t\x60\x65merg\x65n\x63\x79p\x60='$emergencyp\x27,\n\t\t\t\t\t\t\t\t\t\t`e\x6de\x72\x67\x65n\x63y`\x3d\x27$emergency\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61b\x69n\x76\x6f\x69c\x65_\x74\x6ftalpc\x63\x6f\x6di\x73\x73\x69on`=\x27$labinvoice_totalpccomission',\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62i\x6ev\x6fi\x63\x65_\x74o\x74a\x6c\x64rc\x6fm\x69\x73\x73\x69\x6fn`\x3d'$labinvoice_totaldrcomission',\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61bin\x76oic\x65_\x73ubtot\x61laf\x74\x65r\x64\x69\x73\x63\x60=\x27$labinvoice_subtotalafterdisc',\n\t\t\t\t\t\t\t\t\t\t\x60l\x61bin\x76oi\x63\x65\x5f\x72e\x63eiveam\x6f\x75\x6et\x60\x3d\x27$labinvoice_receiveamount\x27,\n\t\t\t\t\t\t\t\t\t\t`l\x61bin\x76\x6fic\x65\x5f\x64\x65\x73\x63r\x69p\x74io\x6e\x60\x3d\x27$labinvoice_description\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6ca\x62in\x76\x6fice_d\x75\x65shol\x64er\x60=\x27$labinvoice_duesholder',\n\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69\x6ev\x6fi\x63e_\x70r\x65vi\x6f\x75s\x64\x75e`=\x27$labinvoice_previousdue',\n\t\t\t\t\t\t\t\t\t\t\x60previo\x75s\x5f\x6c\x61\x62\x69nv\x6fic\x65\x5f\x74o\x74\x61l\x70\x63comiss\x69o\x6e`\x3d\x20'$previous_labinvoice_totalpccomission',\n\t\t\t\t\t\t\t\t\t\t\x60l\x61bi\x6ev\x6fice\x5fd\x75e\x60='$labinvoice_due',\n\t\t\t\t\t\t\t\t\t\t`due_s\x74atu\x73\x60='$labinvoice_due\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62i\x6evoi\x63\x65_\x64a\x74e\x60\x3d'$labinvoice_date\x27,\n\t\t\t\t\t\t\t\t\t\t`\x63\x72e\x61te\x64\x5fda\x74\x65\x60\x3d'$created_date\x27,\n\t\t\t\t\t\t\t\t\t\t\x60\x6d\x6fnt\x68_s\x65ria\x6c\x60='$month_serial',\n\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62\x69nvo\x69ce\x5f\x64e\x6cive\x72y\x64\x61\x74\x65\x60=\x27$labinvoice_deliverydate\x27";${$indqwknfqyg}=mysqli_query(${$yqylkldydmp},${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x63g\x6b\x7a\x73\x77\x73\x78\x68"]});${${"\x47\x4cOB\x41\x4cS"}["y\x62\x69\x72\x67fss"]}=mysqli_insert_id(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x6e\x71\x67y\x74\x6e\x74e"]});if(${${"\x47LO\x42A\x4c\x53"}["y\x62\x69\x72\x67fss"]}>0&&${$ppaeoab}!=""){$ubbgfvuhw="\x69\x6e\x73ertlabinvo\x69c\x65";$fhhdjipl="l\x61\x62i\x6ev\x6fi\x63\x65\x5f\x70\x61\x74i\x65\x6e\x74\x69\x64";if(${${"G\x4cO\x42\x41\x4c\x53"}["\x62yb\x6e\x6d\x6d\x6b\x78\x71\x69\x61"]}!=""&&is_array(${${"G\x4c\x4f\x42\x41LS"}["\x62\x79bn\x6dm\x6b\x78\x71\x69\x61"]})){${${"\x47\x4cOBA\x4c\x53"}["v\x6f\x6a\x68\x6f\x6aed\x73g"]}=0;$opdwjlgf="\x6ca\x62\x69\x6ev\x6f\x69c\x65_\x69\x74\x65m\x61rr\x61y";foreach(${$opdwjlgf} as${${"\x47L\x4fB\x41\x4cS"}["\x78zu\x74f\x65"]}){$hichpd="\x6c\x61b\x69\x6e\x76\x6fi\x63\x65\x64e\x74\x61i\x6cs\x5f\x69\x74\x65\x6d";${"GL\x4f\x42\x41\x4c\x53"}["i\x71\x6d\x76mns\x6an\x64"]="\x6c\x61\x62\x69n\x76oic\x65\x5f\x71\x74y\x61rr\x61\x79";$apvtuctkdk="l\x61bit\x65\x6d\x5f\x69\x64";$qsalmdq="p";${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x6f\x71wfbgx\x6b"]="p";${"\x47\x4c\x4fBA\x4c\x53"}["\x7a\x61\x62x\x68\x6eiq\x75"]="p";${"GL\x4f\x42AL\x53"}["\x6dj\x68kg\x63l\x6e\x65"]="\x63a\x74e\x67\x6f\x72\x79";${"\x47\x4cO\x42\x41\x4c\x53"}["e\x62\x64\x75\x72lb\x76r\x77"]="\x70";$ygtylgkrryr="l\x61\x62\x69\x6e\x76oi\x63\x65\x64\x65\x74\x61il\x73\x5f\x72\x61\x74\x65";$reecjw="\x6c\x61\x62\x69\x74\x65\x6d\x5f\x69\x64\x61r\x72\x61\x79";${"\x47\x4cO\x42AL\x53"}["\x6frv\x75\x62s"]="\x70";$mhtjlnjglkg="\x63\x61te\x67ory\x61\x72r\x61\x79";${"G\x4cOB\x41\x4c\x53"}["\x78tt\x62\x6bw\x76\x77"]="\x6c\x61\x62\x69n\x76\x6f\x69\x63\x65\x5f\x63\x61\x74eg\x6fr\x79\x61\x72\x72\x61\x79";${$apvtuctkdk}=${$reecjw}[${${"\x47L\x4f\x42A\x4c\x53"}["z\x61bxh\x6e\x69\x71\x75"]}];${"GL\x4fB\x41LS"}["\x73\x6beb\x77\x6f\x75\x6bz\x66"]="\x6ca\x62\x69nv\x6f\x69c\x65d\x65\x74\x61i\x6c\x73\x5fg\x72o\x75p";${$hichpd}=${${"GL\x4fB\x41\x4c\x53"}["\x62ybnmm\x6b\x78\x71\x69\x61"]}[${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6fo\x71w\x66\x62g\x78\x6b"]}];${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73k\x65b\x77o\x75\x6b\x7a\x66"]}=${${"\x47L\x4fBA\x4c\x53"}["j\x6a\x6e\x6d\x6e\x6c\x65\x66\x75\x68\x76"]}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["eb\x64\x75r\x6c\x62vr\x77"]}];${"GL\x4f\x42\x41\x4c\x53"}["\x73rnn\x66\x6dg\x64n\x6c\x76"]="\x6c\x61b\x69n\x76\x6f\x69\x63e\x64\x65ta\x69l\x73_\x72ef\x76\x61l\x75\x65";$hxpqyosmk="\x70";$pihjrsip="\x6e\x6ft\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["v\x65\x74\x62\x73\x61\x62\x71\x6f\x7a\x67\x76"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x74\x74\x62\x6b\x77\x76\x77"]}[${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x6f\x6a\x68\x6fj\x65\x64\x73\x67"]}];$vyogwfz="\x6c\x61\x62i\x6e\x76oi\x63e\x64\x65\x74a\x69\x6c\x73_\x74es\x74\x67\x72o\x75p";${${"\x47\x4c\x4fB\x41L\x53"}["\x6d\x6ahk\x67\x63\x6cn\x65"]}=${$mhtjlnjglkg}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x6fj\x68\x6f\x6a\x65d\x73g"]}];$rspmnrd="p";${$pihjrsip}=${${"G\x4c\x4f\x42A\x4c\x53"}["\x6e\x6e\x63\x72o\x79\x69ai"]}[${$qsalmdq}];${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x71q\x79\x79\x6f\x74\x6b\x6d"]="l\x61b\x69n\x76oic\x65\x5f\x73a\x6dp\x6c\x65\x61\x72\x72a\x79";${"\x47L\x4fBA\x4cS"}["g\x65\x65\x71\x6b\x6ajom\x75r"]="\x75s\x65\x72";$uzckekuxws="l\x61\x62\x69n\x76o\x69cede\x74\x61i\x6cs\x5f\x71\x74y";${${"\x47L\x4f\x42\x41LS"}["\x75\x63\x66\x70\x74\x79\x76\x6d\x69"]}=${${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x77slu\x76o\x63\x75\x65"]}[${${"GL\x4f\x42AL\x53"}["\x76o\x6a\x68\x6f\x6ae\x64s\x67"]}];${$vyogwfz}=${${"\x47L\x4f\x42\x41L\x53"}["\x64\x69im\x73\x75bc\x6dm\x6d"]}[${${"\x47L\x4f\x42A\x4cS"}["\x76o\x6a\x68\x6fjed\x73\x67"]}];${"\x47\x4c\x4fBA\x4cS"}["\x70\x68\x66\x6f\x76\x63\x74z"]="\x70";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x6ed\x6bbx\x6dr"]}=${${"GL\x4fBA\x4cS"}["c\x71\x71\x79y\x6f\x74km"]}[${${"\x47\x4cO\x42\x41\x4cS"}["\x76\x6f\x6ah\x6f\x6a\x65\x64\x73g"]}];${"G\x4c\x4f\x42A\x4cS"}["\x6d\x6axr\x75\x72k"]="u\x73e\x72";${${"\x47\x4c\x4fB\x41\x4c\x53"}["hfx\x78\x76hz"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x65\x71\x61\x6d\x75\x72\x78\x71\x7al"]}[${${"GL\x4f\x42\x41\x4cS"}["\x76\x6f\x6a\x68o\x6a\x65dsg"]}];${${"G\x4c\x4f\x42\x41\x4cS"}["g\x65\x65\x71k\x6ajo\x6d\x75r"]}=${${"\x47\x4cO\x42A\x4cS"}["\x6d\x6ax\x72ur\x6b"]};$wpqdried="\x6c\x61b\x69\x6e\x76\x6f\x69\x63e\x64\x65ta\x69\x6c\x73\x5f\x64\x69s\x63ou\x6e\x74p";${${"GL\x4f\x42\x41LS"}["vr\x6e\x77m\x68\x71gs\x77"]}=${${"\x47\x4cO\x42A\x4c\x53"}["g\x64\x6c\x75l\x73\x6d\x77\x66cn"]}[${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x72v\x75\x62\x73"]}];${"\x47\x4c\x4fB\x41L\x53"}["\x6cf\x63c\x61\x71\x78\x6a\x6d\x6c"]="\x70";${"\x47L\x4fBAL\x53"}["a\x62\x78v\x6f\x79"]="\x70";$abkthxk="\x6c\x61bi\x6ev\x6f\x69\x63\x65\x5f\x64\x69s\x63\x61r\x72\x61y";${${"\x47L\x4fBA\x4c\x53"}["\x73\x72n\x6e\x66\x6d\x67\x64\x6elv"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["o\x63\x76m\x78k\x6b\x65"]}[${${"\x47\x4c\x4f\x42AL\x53"}["\x76o\x6ah\x6f\x6ae\x64\x73\x67"]}];${$ygtylgkrryr}=${${"\x47\x4c\x4f\x42\x41L\x53"}["x\x69k\x66\x63\x6f\x6f\x6a\x76"]}[${$rspmnrd}];${$uzckekuxws}=${${"GLO\x42AL\x53"}["i\x71\x6d\x76\x6d\x6e\x73\x6an\x64"]}[${${"\x47L\x4f\x42A\x4c\x53"}["voj\x68\x6f\x6a\x65d\x73\x67"]}];$abtfeohkfee="\x6c\x61\x62i\x6e\x76\x6f\x69\x63\x65de\x74\x61\x69l\x73\x5fto\x74\x61\x6c";${$wpqdried}=${${"\x47LO\x42\x41\x4c\x53"}["\x69tc\x63n\x77cf"]}[${${"\x47L\x4f\x42A\x4c\x53"}["voj\x68\x6f\x6a\x65d\x73\x67"]}];${${"GLO\x42\x41\x4cS"}["\x66\x6e\x7a\x6b\x73\x78\x75\x76\x77\x71"]}=${$abkthxk}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["v\x6f\x6a\x68\x6f\x6a\x65d\x73g"]}];${$abtfeohkfee}=${${"\x47\x4cO\x42\x41\x4c\x53"}["g\x67ho\x79\x6bne\x64"]}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6cfc\x63\x61\x71\x78\x6a\x6dl"]}];${${"GL\x4f\x42\x41LS"}["\x65w\x76\x77\x6a\x76\x6c\x7a\x69w\x6a\x78"]}=${${"G\x4c\x4fBA\x4c\x53"}["ie\x73l\x6cd\x65\x71"]}[${${"\x47\x4c\x4fB\x41\x4cS"}["\x70h\x66o\x76\x63\x74z"]}];${${"G\x4cOBAL\x53"}["i\x75y\x64\x69\x65\x6an\x70\x79"]}=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x73k\x64u\x71f\x76n\x79"]}[${${"G\x4c\x4f\x42\x41\x4cS"}["\x61\x62x\x76\x6f\x79"]}];if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x74c\x6b\x73h"]}!=""){${"\x47\x4cO\x42A\x4c\x53"}["my\x63g\x73exj\x67\x78"]="\x73\x71l";${${"G\x4c\x4fBA\x4c\x53"}["\x6dy\x63\x67s\x65xj\x67\x78"]}="inse\x72t i\x6et\x6f\x20\x6cab\x69n\x76oi\x63\x65\x64\x65ta\x69l\x73\x20\x73\x65\x74\x20\x60lab\x69nvo\x69ce_i\x64` \x3d\x20\x27$labinvoice_id\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`l\x61\x62\x69\x6evo\x69\x63\x65_p\x61t\x69\x65nti\x64\x60=\x27$labinvoice_patientid',\x20\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6cabin\x76o\x69ce\x5f\x70\x61\x74ientco\x64e`\x3d'$labinvoice_patientcode\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61b\x69nvo\x69\x63\x65\x64e\x74a\x69\x6c\x73_\x69\x74em` = '$labinvoicedetails_item',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60user\x60 =\x20'$user',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62\x69\x6evo\x69\x63ed\x65ta\x69\x6c\x73\x5fg\x72\x6fu\x70\x60\x20\x3d\x20\x27$labinvoicedetails_group',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60ca\x74\x65\x67\x6fry\x60 \x3d\x20\x27$category\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6e\x6f\x74\x65`\x20= \x27$note\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60or\x64er\x62\x79`\x20\x3d\x20'$orderby',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`labin\x76oi\x63e\x64\x65\x74a\x69\x6c\x73_c\x61t\x65gor\x79\x60 = \x27$labinvoicedetails_category',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60lab\x69\x6e\x76o\x69ced\x65\x74ail\x73_sa\x6d\x70le\x60\x20\x3d '$labinvoicedetails_sample',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60m\x61\x63\x68\x69ne_na\x6de\x60 =\x20\x27$machine_name',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6cab\x69\x6evo\x69\x63edet\x61il\x73_t\x65s\x74gro\x75p`\x20= \x27$labinvoicedetails_testgroup',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61bin\x76oice\x64\x65\x74ai\x6c\x73_u\x6ei\x74` \x3d\x20\x27$labinvoicedetails_unit\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6cab\x69\x6ev\x6fi\x63\x65\x64et\x61i\x6c\x73_\x72\x65\x66\x76\x61lu\x65`\x20\x3d \x27$labinvoicedetails_refvalue',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`l\x61\x62\x69nv\x6f\x69c\x65d\x65\x74ail\x73\x5f\x72\x61t\x65\x60 =\x20'$labinvoicedetails_rate\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`lab\x69\x6e\x76\x6fice\x64eta\x69ls_\x71\x74\x79\x60 =\x20'$labinvoicedetails_qty',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6ca\x62inv\x6ficedeta\x69\x6cs\x5f\x64isc\x6f\x75\x6etp\x60 \x3d '$labinvoicedetails_discountp',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61b\x69n\x76\x6fice\x64\x65ta\x69ls_di\x73c`\x20=\x20'$labinvoicedetails_disc',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`labinvo\x69\x63e\x64\x65\x74\x61i\x6c\x73_to\x74al`\x20\x3d\x20'$labinvoicedetails_total',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61\x62\x69\x6e\x76\x6fi\x63\x65de\x74a\x69l\x73_pc\x63o\x6diss\x69\x6f\x6e`\x20= \x27$labinvoicedetails_pccomission\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61b\x69\x6ev\x6f\x69\x63e\x64\x65\x74ails\x5f\x64r\x63\x6f\x6d\x69\x73\x73\x69\x6fn\x60 = '$labinvoicedetails_drcomission\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61bi\x6evoic\x65de\x74\x61\x69l\x73\x5f\x64a\x74e` = '$labinvoice_date\x27";mysqli_query(${${"\x47\x4cOB\x41\x4c\x53"}["\x65nqg\x79\x74\x6ete"]},${${"\x47\x4cO\x42\x41L\x53"}["\x75ka\x77\x69x\x77\x77l\x68"]});}${$hxpqyosmk}++;}}$muxeaodbich="la\x62i\x6e\x76\x6fi\x63\x65\x5fi\x64";${${"\x47\x4c\x4f\x42\x41LS"}["\x75k\x61\x77\x69\x78\x77w\x6ch"]}="\x69\x6e\x73\x65rt\x20i\x6e\x74o \x6ca\x62in\x76\x6f\x69\x63eback\x75\x70 set\x20\x60la\x62\x69nv\x6f\x69\x63e\x5f\x70a\x74\x69\x65\x6et\x69\x64`='$labinvoice_patientid', \n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62\x69n\x76\x6fi\x63e\x5fp\x61t\x69\x65\x6e\x74\x63o\x64\x65\x60='$labinvoice_patientcode',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60la\x62\x69\x6evoi\x63\x65_p\x61\x74\x69ent`=\x27$labinvoice_patient',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x75se\x72`\x3d\x27$user\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t`\x62\x61r\x60=\x27$bar',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60ag\x65`\x3d\x27$age',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61b\x69\x6evo\x69\x63e_a\x67\x65\x60\x3d'$labinvoice_age\x27, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6cab\x69nv\x6f\x69ce_\x67e\x6eder`\x3d'$labinvoice_gender',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62i\x6e\x76\x6fice\x5fadd\x72e\x73s\x60=\x27$labinvoice_address\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62invoi\x63\x65\x5fm\x6f\x62i\x6ce\x60\x3d\x27$labinvoice_mobile\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61bin\x76\x6fice_pc\x60=\x27$labinvoice_pc\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62in\x76oic\x65_\x6d\x70o`\x3d'$labinvoice_mpo',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6cabin\x76\x6fi\x63\x65_\x64\x6f\x63\x74\x6fr`='$labinvoice_doctor\x27,\x20\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62\x69n\x76oic\x65\x5f\x77a\x72d`\x3d\x27$labinvoice_ward',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60labi\x6e\x76o\x69ce\x5f\x73ubtotal`\x3d'$labinvoice_subtotal',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61b\x69nv\x6fice\x5ftot\x61\x6c\x64\x69\x73c\x70\x60\x3d\x27$labinvoice_totaldiscp\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62\x69nvo\x69c\x65\x5fto\x74aldisc\x60\x3d\x27$labinvoice_totaldisc\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60la\x62i\x6evo\x69\x63\x65\x5f\x74ot\x61\x6c\x70\x63\x63o\x6di\x73s\x69o\x6e`\x3d\x27$labinvoice_totalpccomission',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60labi\x6e\x76oi\x63e_\x74o\x74\x61l\x64\x72c\x6f\x6d\x69ssio\x6e\x60='$labinvoice_totaldrcomission',\n\t\t\t\t\t\t\t\t\t\t\t\t\t`l\x61b\x69\x6e\x76oice_\x73u\x62\x74o\x74\x61l\x61f\x74\x65rdi\x73c\x60\x3d'$labinvoice_subtotalafterdisc\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62\x69\x6evoi\x63e\x5f\x72e\x63e\x69ve\x61m\x6fu\x6e\x74\x60=\x27$labinvoice_receiveamount',\n\t\t\t\t\t\t\t\t\t\t\t\t\t`l\x61b\x69n\x76\x6f\x69\x63e\x5f\x64\x65\x73\x63r\x69p\x74\x69on`\x3d\x27$labinvoice_description\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62\x69\x6ev\x6fi\x63\x65_\x64u\x65sh\x6f\x6cder\x60\x3d'$labinvoice_duesholder\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61b\x69nv\x6f\x69c\x65_\x70\x72\x65\x76\x69ousd\x75e\x60='$labinvoice_previousdue\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x70re\x76\x69\x6f\x75s\x5fl\x61\x62i\x6evoice\x5f\x74o\x74\x61\x6cp\x63co\x6d\x69\x73s\x69o\x6e\x60= \x27$previous_labinvoice_totalpccomission',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69\x6e\x76o\x69c\x65_du\x65`\x3d\x27$labinvoice_due',\n\t\t\t\t\t\t\t\t\t\t\t\t\t`du\x65\x5f\x73\x74atus`='$labinvoice_due',\n\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61bi\x6evoic\x65_da\x74\x65\x60\x3d\x27$labinvoice_date\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61\x62i\x6ev\x6f\x69ce_d\x65\x6ci\x76\x65\x72ydate`='$labinvoice_deliverydate\x27";${$ubbgfvuhw}=mysqli_query(${${"\x47L\x4f\x42A\x4c\x53"}["\x65\x6e\x71\x67\x79\x74\x6e\x74\x65"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x6ba\x77\x69\x78w\x77l\x68"]});mysqli_insert_id(${${"\x47\x4c\x4f\x42\x41\x4cS"}["e\x6e\x71\x67\x79t\x6e\x74e"]});if(${${"\x47L\x4fB\x41\x4c\x53"}["\x79\x62\x69\x72\x67f\x73\x73"]}>0){${"\x47L\x4fB\x41\x4cS"}["\x65\x62go\x6e\x63\x7as"]="\x6cab\x69n\x76\x6fi\x63\x65\x5f\x69\x74\x65m\x61\x72\x72\x61\x79";if(${${"\x47L\x4f\x42\x41\x4cS"}["\x65\x62\x67\x6fn\x63\x7as"]}!=""&&is_array(${${"\x47LO\x42\x41\x4cS"}["\x62\x79\x62\x6e\x6dm\x6bx\x71i\x61"]})){$zxsqnqv="\x6cabi\x6ev\x6fice\x5f\x69\x74\x65\x6dar\x72\x61y";${${"\x47LO\x42A\x4c\x53"}["\x76\x6f\x6a\x68\x6fje\x64s\x67"]}=0;foreach(${$zxsqnqv} as${${"G\x4c\x4f\x42A\x4c\x53"}["x\x7au\x74\x66\x65"]}){${"\x47\x4cO\x42\x41L\x53"}["\x74\x7a\x6e\x79\x72\x74\x63\x73"]="\x6c\x61\x62inv\x6fi\x63e_\x67ro\x75\x70a\x72r\x61\x79";${"\x47\x4cO\x42A\x4c\x53"}["c\x78\x72\x74r\x6a\x78\x6e\x6cd\x6f"]="l\x61b\x69\x6ev\x6f\x69\x63\x65\x64\x65\x74ai\x6c\x73_\x70c\x63\x6fmi\x73s\x69\x6f\x6e";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6dgw\x78\x6bc\x6a\x6fb"]="p";${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x70ih\x63\x71c\x69\x73v"]="l\x61\x62\x69\x6e\x76\x6fi\x63e\x64\x65t\x61\x69\x6cs\x5f\x69\x74em";$gigaxcpvsu="\x70";$jxsmteplso="\x6c\x61b\x69t\x65\x6d\x5f\x69d\x61\x72\x72a\x79";${"GLO\x42\x41\x4c\x53"}["\x6c\x74\x66\x68\x74o"]="\x70";$sfmbfjqdfj="\x70";$bqdsxccxkpf="la\x62\x69\x6ev\x6fic\x65\x5ft\x65s\x74\x67\x72\x6f\x75\x70a\x72\x72\x61y";${"\x47\x4cO\x42\x41\x4cS"}["\x67\x78rp\x79w"]="\x6c\x61bi\x6evo\x69\x63e\x64\x65\x74\x61\x69\x6cs_u\x6e\x69\x74";${"\x47L\x4fBA\x4c\x53"}["vp\x6f\x69\x6b\x63\x78"]="p";$jcupkbwqtr="\x6c\x61\x62inv\x6f\x69\x63\x65d\x65t\x61i\x6c\x73_\x67rou\x70";$xhnmwniscbk="l\x61\x62\x69\x6e\x76o\x69\x63e\x5f\x64\x69\x73\x63\x61\x72\x72ay";${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x64\x72\x70\x77yk\x6ba"]="\x6d\x61ch\x69\x6ee\x5f\x6e\x61\x6d\x65";${${"\x47\x4c\x4fB\x41L\x53"}["\x6c\x6bi\x6eb\x66\x76"]}=${$jxsmteplso}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["vo\x6a\x68\x6fje\x64\x73\x67"]}];$hjljzrw="\x70";${"GL\x4f\x42\x41\x4c\x53"}["m\x64k\x61o\x6fh\x71h\x62\x75\x7a"]="\x70";${${"GLO\x42\x41\x4c\x53"}["h\x70\x69\x68c\x71cisv"]}=${${"\x47\x4c\x4f\x42AL\x53"}["b\x79\x62\x6e\x6dm\x6b\x78\x71\x69\x61"]}[${${"\x47\x4cO\x42A\x4c\x53"}["\x6c\x74f\x68\x74\x6f"]}];${$jcupkbwqtr}=${${"\x47\x4c\x4f\x42\x41L\x53"}["t\x7a\x6e\x79r\x74\x63\x73"]}[${${"G\x4cO\x42\x41\x4c\x53"}["\x6d\x67\x77\x78\x6b\x63\x6a\x6fb"]}];$rlbshfwphjv="\x70";$jamnbkivlc="p";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x66\x63e\x68\x73\x63j\x74z"]="\x6d\x61c\x68\x69\x6e\x65\x5f\x6e\x61\x6d\x65a\x72r\x61\x79";${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x62\x6f\x71\x6f\x65\x75m\x78w"]="\x6cabinv\x6f\x69ce\x5f\x63\x61\x74\x65\x67o\x72\x79a\x72ra\x79";$mjnmnmnud="p";${"G\x4cO\x42AL\x53"}["o\x70\x77\x62h\x68"]="\x70";$pkghnjflv="\x6ca\x62\x69nv\x6fi\x63\x65\x64\x65\x74\x61i\x6cs\x5f\x74\x65st\x67\x72o\x75\x70";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["v\x65tb\x73\x61b\x71\x6f\x7a\x67v"]}=${${"G\x4c\x4f\x42\x41L\x53"}["\x6c\x62oq\x6f\x65\x75\x6dx\x77"]}[${$rlbshfwphjv}];${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66tf\x70x\x62p\x79"]="\x6c\x61b\x69\x6ev\x6f\x69\x63e\x64\x65ta\x69\x6c\x73\x5fd\x69\x73\x63oun\x74\x70";${"\x47LO\x42A\x4c\x53"}["\x78\x76\x70\x71\x6fr\x76"]="\x6c\x61b\x69\x6ev\x6f\x69\x63\x65\x5fqt\x79\x61rr\x61\x79";${$pkghnjflv}=${$bqdsxccxkpf}[${$jamnbkivlc}];$wzuwdkifryk="lab\x69\x6ev\x6f\x69\x63e\x64eta\x69\x6c\x73\x5fd\x61t\x65";$bvtbfufbww="u\x73e\x72";${${"\x47\x4c\x4fBA\x4cS"}["\x78\x6e\x64\x6bb\x78\x6d\x72"]}=${${"\x47LO\x42\x41\x4cS"}["\x67\x74\x67\x73\x6c\x73\x62\x72"]}[${${"\x47L\x4f\x42A\x4c\x53"}["vo\x6a\x68o\x6aedsg"]}];${${"\x47LO\x42A\x4c\x53"}["\x79\x64\x72p\x77\x79\x6bk\x61"]}=${${"\x47\x4c\x4fB\x41LS"}["c\x66\x63\x65\x68\x73\x63\x6a\x74z"]}[${${"\x47\x4cO\x42\x41\x4cS"}["\x76o\x6a\x68o\x6a\x65ds\x67"]}];${"G\x4cO\x42\x41\x4c\x53"}["\x66rmj\x6du\x62\x75\x77"]="\x6ca\x62i\x6e\x76\x6f\x69\x63e\x5f\x64\x72c\x6f\x6d\x69\x73s\x69\x6f\x6ea\x72\x72a\x79";${${"\x47L\x4f\x42ALS"}["d\x6d\x6b\x78\x73vysy"]}=${$bvtbfufbww};${${"G\x4c\x4f\x42\x41\x4c\x53"}["gxr\x70\x79\x77"]}=${${"\x47L\x4fB\x41\x4cS"}["g\x64\x6cu\x6cs\x6d\x77fcn"]}[${${"\x47\x4c\x4f\x42ALS"}["o\x70w\x62h\x68"]}];${${"\x47\x4c\x4f\x42ALS"}["\x6at\x6a\x79\x6aoc\x63"]}=${${"\x47L\x4fBAL\x53"}["\x6f\x63\x76\x6dx\x6b\x6b\x65"]}[${${"G\x4c\x4f\x42A\x4cS"}["m\x64\x6bao\x6fh\x71h\x62\x75z"]}];$qnqruikfahd="\x6cab\x69\x6e\x76\x6fi\x63e\x64e\x74\x61il\x73\x5f\x69\x74e\x6d";${${"\x47\x4c\x4f\x42A\x4cS"}["\x65md\x6am\x68\x75\x7a"]}=${${"G\x4c\x4f\x42AL\x53"}["\x78ik\x66co\x6f\x6a\x76"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76p\x6fi\x6b\x63\x78"]}];${${"\x47\x4c\x4fB\x41L\x53"}["\x70\x67yr\x6dm\x75\x74\x74\x69\x69"]}=${${"\x47\x4cOBA\x4c\x53"}["\x78\x76p\x71\x6fr\x76"]}[${${"\x47\x4c\x4f\x42AL\x53"}["\x76oj\x68ojed\x73\x67"]}];${${"GL\x4f\x42\x41\x4c\x53"}["f\x74\x66\x70xbp\x79"]}=${${"G\x4cOB\x41\x4cS"}["itc\x63n\x77\x63\x66"]}[${$hjljzrw}];${${"\x47\x4c\x4f\x42A\x4c\x53"}["f\x6ez\x6b\x73\x78\x75\x76\x77q"]}=${$xhnmwniscbk}[${$mjnmnmnud}];$nuuscebm="lab\x69\x6e\x76o\x69\x63e_t\x6fta\x6ca\x72ra\x79";${${"G\x4c\x4fB\x41\x4c\x53"}["\x64\x69\x63\x7a\x6a\x69r\x6a\x69\x6ae"]}=${$nuuscebm}[${$gigaxcpvsu}];${${"\x47L\x4f\x42\x41L\x53"}["c\x78rt\x72jxnl\x64o"]}=${${"GL\x4f\x42AL\x53"}["i\x65\x73\x6cl\x64e\x71"]}[${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76o\x6ah\x6fje\x64sg"]}];${${"\x47\x4cO\x42\x41\x4cS"}["iu\x79d\x69e\x6a\x6e\x70y"]}=${${"\x47LOB\x41\x4c\x53"}["f\x72\x6d\x6a\x6du\x62\x75\x77"]}[${${"G\x4cO\x42\x41\x4c\x53"}["v\x6fjh\x6fjed\x73\x67"]}];${$wzuwdkifryk}=date("\x59-m-d\x20\x68:i:\x73");if(${$qnqruikfahd}!=""){${${"\x47LOBAL\x53"}["\x75\x6b\x61w\x69\x78\x77wlh"]}="\x69nsert \x69\x6eto\x20\x6c\x61\x62\x69\x6e\x76\x6fice\x64e\x74a\x69l\x73b\x61\x63k\x75\x70 se\x74 \x60\x6c\x61b\x69\x6e\x76oic\x65_i\x64\x60\x20=\x20'$labinvoice_id\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6cab\x69nvoice_\x70a\x74i\x65n\x74\x69\x64\x60='$labinvoice_patientid\x27,\x20\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6cabi\x6ev\x6f\x69\x63e_\x70a\x74ientc\x6f\x64\x65\x60=\x27$labinvoice_patientcode\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62i\x6ev\x6f\x69c\x65details_\x69\x74e\x6d`\x20\x3d\x20'$labinvoicedetails_item',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x75s\x65r\x60 \x3d '$user\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69n\x76\x6fice\x64e\x74\x61\x69\x6c\x73_gro\x75p`\x20=\x20\x27$labinvoicedetails_group\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`cate\x67o\x72y`\x20\x3d '$category\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6e\x6f\x74e` =\x20'$note',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60o\x72\x64\x65rby\x60\x20\x3d\x20'$orderby',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61\x62\x69\x6e\x76o\x69\x63\x65\x64\x65\x74\x61\x69l\x73_\x63\x61\x74\x65\x67ory\x60\x20= \x27$labinvoicedetails_category',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`la\x62invo\x69c\x65d\x65ta\x69ls_s\x61mp\x6c\x65`\x20\x3d\x20'$labinvoicedetails_sample',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6d\x61\x63h\x69\x6e\x65_na\x6de` =\x20'$machine_name',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69\x6e\x76\x6f\x69ce\x64et\x61\x69\x6cs_tes\x74\x67\x72\x6fu\x70\x60 =\x20'$labinvoicedetails_testgroup',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69nv\x6fi\x63\x65\x64et\x61\x69ls\x5fun\x69t`\x20= '$labinvoicedetails_unit\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60la\x62\x69\x6e\x76o\x69ce\x64eta\x69\x6c\x73\x5f\x72efv\x61lu\x65\x60 \x3d\x20\x27$labinvoicedetails_refvalue',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60lab\x69\x6e\x76oi\x63\x65d\x65\x74\x61i\x6c\x73\x5fr\x61\x74\x65\x60 = \x27$labinvoicedetails_rate\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`l\x61b\x69n\x76oic\x65\x64\x65\x74\x61\x69\x6cs_qty\x60\x20\x3d \x27$labinvoicedetails_qty\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`la\x62in\x76o\x69\x63edet\x61\x69ls_disco\x75nt\x70`\x20\x3d\x20\x27$labinvoicedetails_discountp\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6cabi\x6e\x76oic\x65\x64\x65ta\x69l\x73_d\x69s\x63\x60\x20= '$labinvoicedetails_disc',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60la\x62\x69n\x76\x6fice\x64et\x61il\x73\x5f\x74\x6f\x74\x61\x6c` =\x20\x27$labinvoicedetails_total',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61b\x69nvo\x69c\x65\x64\x65\x74\x61i\x6cs_\x70c\x63o\x6d\x69ss\x69on\x60 \x3d '$labinvoicedetails_pccomission',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62\x69nv\x6fic\x65d\x65\x74a\x69ls\x5fdr\x63\x6f\x6d\x69\x73\x73ion` \x3d '$labinvoicedetails_drcomission',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`la\x62invo\x69\x63\x65deta\x69\x6c\x73\x5f\x64\x61t\x65\x60\x20=\x20'$labinvoicedetails_date'";mysqli_query(${${"\x47LOB\x41\x4c\x53"}["\x65\x6eqg\x79t\x6et\x65"]},${${"\x47\x4c\x4fBAL\x53"}["\x75\x6b\x61\x77\x69x\x77\x77\x6ch"]});}${$sfmbfjqdfj}++;}}}if(${$fhhdjipl}>0){${"\x47LO\x42\x41\x4cS"}["\x6f\x6ar\x6f\x65\x69\x74\x70\x62k"]="l\x61\x62\x71\x75\x65\x72\x79";${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x67jv\x75k\x71\x6c\x7a"]="\x73ql\x6f\x6e\x65\x72\x6f\x77";${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x75\x6c\x6e\x68\x68\x6a\x74\x67\x75"]="\x63\x6f\x6e\x6e";${${"\x47\x4c\x4fB\x41L\x53"}["\x69v\x76\x6ae\x67z\x64"]}="\x73\x65le\x63\x74 * \x66r\x6f\x6d op\x72eg\x69\x73t\x72at\x69o\x6e \x77\x68\x65\x72\x65\x20\x6f\x70r\x65\x67i\x73t\x72a\x74\x69on\x5f\x69d = $labinvoice_patientid";$oqjtmliaf="l\x61\x62\x71u\x65r\x79";${${"\x47L\x4fBAL\x53"}["oj\x72\x6f\x65\x69\x74\x70b\x6b"]}=mysqli_query(${${"\x47\x4c\x4f\x42A\x4cS"}["\x78\x75\x6c\x6e\x68\x68\x6at\x67u"]},${${"G\x4cO\x42A\x4c\x53"}["\x79\x67\x6avu\x6bq\x6c\x7a"]});if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["bnjh\x76be\x61\x72y\x6e"]}&&mysqli_num_rows(${$oqjtmliaf})>0){${"\x47\x4c\x4f\x42\x41L\x53"}["k\x64yi\x79\x6c\x77\x68\x77"]="\x6c\x61b\x72o\x77";$cntfteliq="l\x61\x62\x71ue\x72\x79";while(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6bd\x79\x69\x79\x6c\x77\x68\x77"]}=mysqli_fetch_array(${$cntfteliq})){$gpjgdwd="op\x72\x65\x67\x69\x73tr\x61t\x69o\x6e\x5fi\x64";$nytvgn="\x6cab\x5f\x64\x75\x65";${"G\x4cO\x42A\x4c\x53"}["y\x6b\x79a\x77l\x70\x6at\x66"]="la\x62\x72\x6f\x77";${"\x47LO\x42A\x4c\x53"}["p\x6a\x71\x72\x72\x76\x6f\x69"]="\x75p\x64\x61t\x65\x73\x71l";${$gpjgdwd}=${${"G\x4c\x4fB\x41L\x53"}["\x79\x6b\x79\x61\x77\x6c\x70\x6a\x74\x66"]}["o\x70\x72\x65\x67i\x73\x74\x72\x61\x74\x69o\x6e\x5f\x69\x64"];${"\x47L\x4f\x42AL\x53"}["\x6b\x70\x6a\x6a\x6f\x6evm\x71l"]="\x6ca\x62\x72\x6f\x77";${$nytvgn}=${${"G\x4c\x4f\x42A\x4cS"}["\x70v\x71\x74\x64\x78\x67\x75\x68"]}["\x6ca\x62\x5f\x64ue"];$iiijkjzw="l\x61b\x69n\x76\x6f\x69\x63e_\x74ot\x61\x6c\x70\x63\x63\x6fm\x69\x73\x73\x69\x6f\x6e";${${"\x47\x4cOB\x41\x4cS"}["\x66\x61pw\x6b\x71\x66\x69\x75t\x79\x6f"]}=${${"\x47\x4c\x4fB\x41L\x53"}["p\x76q\x74d\x78gu\x68"]}["\x6ca\x62\x69\x6ev\x6f\x69\x63e_to\x74\x61l\x70c\x63\x6fmis\x73\x69\x6fn"];${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64f\x6d\x7a\x71\x6e\x61\x78\x75"]}=${${"\x47\x4cOBA\x4c\x53"}["\x6b\x70\x6a\x6a\x6f\x6evmql"]}["l\x61\x62To\x74\x61l"];${${"GLOB\x41\x4c\x53"}["\x62\x64c\x73\x78yu"]}=${${"G\x4cO\x42A\x4c\x53"}["\x71bwpp\x71\x74\x6e\x6e"]}+${${"GL\x4f\x42\x41\x4cS"}["\x71\x67\x6f\x6blb\x71u\x62x"]};${"G\x4c\x4f\x42A\x4c\x53"}["q\x78\x6ak\x6d\x6b"]="\x75p\x64\x61t\x65\x73ql";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x73\x6asd\x70\x71\x6bb"]}=round(${$iiijkjzw}+${${"\x47LOB\x41\x4cS"}["\x66\x61p\x77k\x71\x66\x69u\x74y\x6f"]});${${"\x47\x4cO\x42A\x4c\x53"}["\x70\x6a\x71\x72\x72v\x6f\x69"]}="u\x70date\x20op\x72egi\x73\x74\x72\x61\x74io\x6e\x20\x73et\x20\x60\x6ca\x62\x5fdue\x60\x3d\x27$lab_dueTotal\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x20 `l\x61\x62\x54o\x74\x61\x6c`='$lab_dueTotal',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x20\x20`\x6ca\x62inv\x6fice_tota\x6cpc\x63\x6fm\x69\x73si\x6f\x6e\x60='$totalpccomission\x27\n\t\t\t\t\t\t\t\t\t\t\t\t\t\x20\x20\x20 \x77here\x20\x6fpr\x65g\x69str\x61\x74ion_\x69d = $opregistration_id";mysqli_query(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65nqg\x79\x74\x6e\x74\x65"]},${${"\x47LO\x42\x41LS"}["\x71\x78jk\x6d\x6b"]});}}}if(${${"G\x4c\x4f\x42A\x4c\x53"}["q\x62w\x70\x70\x71\x74\x6e\x6e"]}>0){${${"\x47\x4c\x4fBA\x4cS"}["\x67\x70\x74\x65\x69\x72\x6b\x65\x74\x68\x6b"]}=$_POST["\x65m\x70l\x6fy\x65na\x6d\x65\x65\x6e\x74r\x79\x5fid"];${${"\x47LO\x42A\x4c\x53"}["\x77h\x63\x62\x6e\x77\x61c"]}="\x73el\x65\x63\x74 e\x6d\x70l\x6f\x79\x65\x6e\x61\x6de\x65n\x74\x72\x79_i\x64, \x6cdue\x20\x66\x72\x6f\x6d \x65\x6d\x70loy\x65n\x61\x6d\x65\x65n\x74\x72y w\x68e\x72\x65\x20emp\x6coye\x6e\x61\x6d\x65\x65n\x74\x72\x79\x5f\x69d\x20\x3d\x20$employenameentry_id";$qcykoi="\x63\x6f\x6e\x6e";${"G\x4c\x4f\x42A\x4cS"}["v\x72\x62\x70\x73\x69o\x62\x67d\x6e\x79"]="\x6cq\x75er\x79";${${"\x47LOBA\x4cS"}["\x76\x72\x62\x70s\x69o\x62g\x64n\x79"]}=mysqli_query(${$qcykoi},${${"\x47\x4c\x4fB\x41LS"}["w\x68c\x62nw\x61\x63"]});if(${${"\x47\x4cOB\x41\x4c\x53"}["r\x68h\x63y\x6ap\x6b\x78"]}&&mysqli_num_rows(${${"GLO\x42\x41L\x53"}["\x72h\x68\x63yjpk\x78"]})>0){${"G\x4c\x4fB\x41\x4cS"}["\x72x\x78\x79w\x78\x67qiy\x6d"]="l\x71\x75ery";while(${${"\x47\x4cOB\x41L\x53"}["\x71\x72\x75b\x79u\x63\x73"]}=mysqli_fetch_array(${${"\x47LOB\x41L\x53"}["\x72\x78\x78\x79w\x78g\x71i\x79m"]})){$wkktmmdhuj="p\x64\x75\x652";${${"G\x4c\x4f\x42\x41\x4cS"}["\x67p\x74e\x69\x72\x6b\x65\x74h\x6b"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71rub\x79u\x63s"]}["\x65mp\x6c\x6f\x79\x65\x6ea\x6d\x65\x65\x6e\x74ry\x5fi\x64"];${"\x47L\x4fB\x41\x4c\x53"}["\x6cs\x70\x6dx\x70k\x79\x68e\x78"]="l\x61\x62\x69\x6ev\x6fi\x63e\x5fd\x75e";$gejcabmweko="\x6c\x64\x75\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x63\x63\x64\x78\x63\x6c"]}=${${"\x47LOB\x41\x4c\x53"}["\x71\x72\x75\x62y\x75cs"]}["ld\x75\x65"];${$wkktmmdhuj}=${${"GLO\x42\x41LS"}["\x6csp\x6dxp\x6by\x68\x65x"]}+${$gejcabmweko};${${"\x47\x4cOB\x41LS"}["vhzs\x62\x6d\x63\x76"]}="update\x20em\x70\x6co\x79\x65nam\x65e\x6et\x72y \x73\x65\x74 `\x6c\x64ue\x60=\x27$pdue2\x27 \x77\x68e\x72e\x20empl\x6f\x79\x65n\x61\x6dee\x6et\x72\x79\x5f\x69\x64\x20\x3d\x20$employenameentry_id";mysqli_query(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["enq\x67\x79\x74\x6e\x74\x65"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76h\x7a\x73\x62\x6dc\x76"]});}}}if(${${"G\x4c\x4f\x42AL\x53"}["\x74\x74\x73\x71eio\x76\x6c\x64"]}>0){${"\x47\x4c\x4f\x42A\x4cS"}["bf\x6d\x71\x72p\x6d\x6e"]="\x64\x6fct\x6fr\x5fd\x61\x74\x65";${"G\x4cOB\x41\x4c\x53"}["\x62v\x64c\x79k\x68\x67\x72xn"]="\x75\x70d\x61\x74e\x73q\x6c\x64\x6fc\x74o\x72en\x74\x72\x79";${${"G\x4c\x4f\x42\x41L\x53"}["\x62\x66\x6d\x71\x72\x70mn"]}=date("\x59-\x6d-\x64");$uxfrhwqlc="l\x61\x62i\x6evo\x69\x63e\x5f\x74\x6fta\x6c\x70\x63\x63o\x6d\x69\x73\x73\x69\x6f\x6e";${${"\x47\x4c\x4fB\x41\x4c\x53"}["qd\x6ftuy\x73\x72\x72"]}=round(${$uxfrhwqlc}+${${"\x47\x4c\x4f\x42\x41L\x53"}["p\x6fmm\x64\x63"]});${${"\x47\x4cOB\x41\x4cS"}["q\x6d\x6d\x78\x6f\x65\x68"]}="u\x70\x64\x61te\x20do\x63t\x6fr\x65ntry \x73\x65\x74\x20`p\x63_comissi\x6f\x6e`='$pc_comission',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x20\x20\t\t\x60\x64o\x63to\x72\x5f\x64a\x74e`='$doctor_date'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t \x20\x77\x68ere\x20\x64\x6f\x63\x74o\x72\x5fid\x20=\x20$doctor_id";mysqli_query(${${"G\x4c\x4fB\x41L\x53"}["e\x6e\x71\x67\x79\x74\x6e\x74\x65"]},${${"\x47\x4c\x4fB\x41L\x53"}["b\x76\x64\x63y\x6b\x68\x67\x72x\x6e"]});}if(${${"\x47\x4c\x4f\x42ALS"}["\x71\x62\x77\x70\x70\x71\x74\x6en"]}>0){$uirdmtheyz="\x6cab\x64u\x65\x5f\x64\x61\x74e";${$uirdmtheyz}=date("\x59-m-d");$lvjfamd="\x73\x71\x6c";${${"\x47LO\x42\x41\x4c\x53"}["\x75\x6b\x61\x77i\x78\x77\x77\x6c\x68"]}="i\x6eser\x74\x20\x6cabd\x75e\x20\x73\x65\x74 \x60\x6c\x61\x62i\x6evoi\x63e_\x69\x64`\x20\x3d\x20\x27$labinvoice_id\x27,\x20\n\t\t\t\t\t\t\t\t\t\t`\x75h\x69\x64` = \x27$uhid',\n\t\t\t\t\t\t\t\t\t\t\x60\x62ar\x60\x20\x3d\x20'$bar\x27,\n\t\t\t\t\t\t\t\t\t\t\x60lab\x69\x6e\x76\x6f\x69\x63\x65\x5f\x70at\x69e\x6e\x74i\x64\x60 \x3d \x27$labinvoice_patientid\x27,\n\t\t\t\t\t\t\t\t\t\t`l\x61b\x69\x6e\x76\x6f\x69\x63\x65_pa\x74i\x65\x6e\x74`\x20\x3d\x20'$labinvoice_patient',\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61binvoic\x65_\x6d\x6f\x62i\x6ce\x60\x3d'$labinvoice_mobile\x27,\n\t\t\t\t\t\t\t\t\t\t\x60la\x62\x69\x6e\x76\x6f\x69c\x65\x5f\x70\x63\x60='$labinvoice_pc',\n\t\t\t\t\t\t\t\t\t\t`la\x62\x69n\x76\x6fic\x65\x5f\x6dpo`\x3d'$labinvoice_mpo',\n\t\t\t\t\t\t\t\t\t\t\x60la\x62\x69nv\x6f\x69c\x65_d\x75e\x73h\x6f\x6cde\x72`='$labinvoice_duesholder',\n\t\t\t\t\t\t\t\t\t\t`\x6ca\x62i\x6e\x76o\x69\x63\x65\x5f\x74ot\x61l\x70\x63\x63\x6fmi\x73s\x69\x6f\x6e\x60\x3d'$labinvoice_totalpccomission',\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61binvoi\x63e_\x73ubt\x6f\x74a\x6c`\x3d'$labinvoice_subtotal\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6ca\x62inv\x6f\x69ce_t\x6f\x74\x61\x6cd\x69\x73\x63\x60\x3d'$labinvoice_totaldisc',\n\t\t\t\t\t\t\t\t\t\t`l\x61\x62\x69\x6ev\x6fi\x63e_s\x75bt\x6fta\x6caf\x74e\x72dis\x63\x60='$labinvoice_subtotalafterdisc',\n\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61b\x69nvoic\x65_re\x63e\x69v\x65\x61mo\x75\x6e\x74\x60='$labinvoice_receiveamount',\n\t\t\t\t\t\t\t\t\t\t\x60u\x73er`\x3d\x27$user',\n\t\t\t\t\t\t\t\t\t\t\x60\x6cab\x69\x6ev\x6f\x69\x63e_\x64u\x65\x60 \x3d\x20\x27$labinvoice_due\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6ca\x62due_\x64ate\x60 \x3d\x20'$labdue_date\x27";mysqli_query(${${"GLO\x42\x41\x4c\x53"}["\x65\x6e\x71\x67\x79t\x6e\x74\x65"]},${$lvjfamd});}if(${${"\x47L\x4f\x42\x41\x4cS"}["\x6e\x67\x79\x6a\x7aub\x79h\x62\x65"]}>=0){${"\x47LO\x42\x41\x4c\x53"}["d\x69is\x75\x7a\x75\x69"]="\x63o\x6en";${${"\x47LO\x42\x41L\x53"}["cri\x6b\x65\x76\x6e"]}=$_POST["la\x62inv\x6f\x69ce_t\x6f\x74\x61\x6cd\x69\x73\x63"];$jdotlwfzygv="\x73\x71\x6c";${"\x47\x4c\x4f\x42A\x4c\x53"}["r\x73\x62\x76\x65m\x67wu\x74\x68"]="\x73\x71\x6c";${$jdotlwfzygv}="i\x6e\x73\x65\x72t\x20\x64\x61i\x6c\x79\x74r\x61\x6e\x73\x65\x63\x74\x69\x6fn_\x6c\x61b\x20 set\x20 \x20\x60\x6ca\x62\x69\x6e\x76\x6f\x69ce\x5f\x70\x61tie\x6e\x74id` \x3d\x20'$labinvoice_patientid\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61binv\x6f\x69ce\x5f\x70a\x74i\x65\x6etc\x6fd\x65\x60='$labinvoice_patientcode',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6cab\x69n\x76\x6fice_\x69\x64\x60='$labinvoice_id',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x73e\x63ti\x6fn\x60='\x4c\x61b\x20\x43a\x73h\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`w\x61r\x64\x60=\x27$labinvoice_ward',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62in\x76\x6f\x69c\x65_p\x61ti\x65\x6et\x60\x3d'$labinvoice_patient\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61bi\x6evoi\x63e_\x6dob\x69\x6ce\x60='$labinvoice_mobile',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62\x69n\x76o\x69ce_a\x64dress`=\x27$labinvoice_address\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x75s\x65\x72\x60\x20\x3d \x27$user',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`lab\x69\x6evoi\x63e\x5fp\x63`\x3d\x27$labinvoice_pc',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60la\x62\x69nvoi\x63\x65\x5fm\x70\x6f`\x3d'$labinvoice_mpo',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`l\x61bin\x76o\x69c\x65\x5f\x73ub\x74otal`='$labinvoice_subtotal',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62inv\x6fic\x65\x5fs\x75b\x74ota\x6ca\x66\x74e\x72di\x73\x63\x60\x3d\x27$labinvoice_subtotalafterdisc\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x64i\x73cou\x6et_\x61mo\x75\x6et`\x3d'$discount_amount',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62in\x76\x6fic\x65_\x64u\x65\x60='$labinvoice_due\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6ca\x62in\x76oice_\x72ec\x65i\x76e\x61\x6d\x6fun\x74\x60=\x27$labinvoice_receiveamount\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60dai\x6cytr\x61\x6e\x73\x65c\x74\x69\x6f\x6e\x5f\x6cab\x5f\x64at\x65` =\x20\x27$labinvoice_date'";mysqli_query(${${"G\x4c\x4fBA\x4cS"}["\x64\x69\x69s\x75\x7a\x75\x69"]},${${"G\x4c\x4fB\x41\x4c\x53"}["rsb\x76\x65m\x67\x77\x75\x74\x68"]});}if(${$muxeaodbich}>0){${"\x47L\x4f\x42A\x4c\x53"}["i\x6d\x77\x75\x70\x76h\x70"]="up\x64a\x74\x65s\x71\x6c";${${"G\x4c\x4f\x42\x41\x4c\x53"}["ul\x6f\x62u\x72\x72\x6d\x66r"]}=${${"\x47\x4c\x4fB\x41L\x53"}["y\x62i\x72gf\x73\x73"]};${${"\x47L\x4f\x42A\x4c\x53"}["im\x77\x75\x70\x76\x68p"]}="updat\x65\x20\x6ca\x62r\x65po\x72\x74d\x61t\x61\x20set\x20\x60i\x6e\x76oic\x65`='$invoice\x27\n\t\t\t\t\t\t\t\t\t\t\t\twhe\x72e\x20labr\x65\x70\x6frt\x64\x61ta_i\x64 \x3d 1";mysqli_query(${${"G\x4c\x4fB\x41\x4c\x53"}["\x65\x6e\x71\x67\x79\x74n\x74\x65"]},${${"G\x4c\x4fB\x41\x4c\x53"}["vh\x7as\x62\x6d\x63v"]});}header("l\x6f\x63a\x74\x69\x6fn:\x69\x6e\x64\x65\x78.\x70\x68\x70?\x70\x3d\x6ca\x62inv\x6fi\x63\x65\x26labin\x76\x6f\x69\x63e\x5f\x69d\x3d$labinvoice_id&mes\x73\x61\x67\x65=\x73\x61\x76\x65-\x73uccessfu\x6c\x6c\x79");exit;}}else{header("\x6c\x6f\x63at\x69\x6f\x6e:\x69nde\x78\x2e\x70\x68p?p=\x6c\x61b\x69\x6e\x76o\x69c\x65\x26\x6d\x65\x73\x73\x61\x67e\x3dw\x72\x6fngent\x72y");}}else{${"\x47L\x4f\x42A\x4c\x53"}["g\x71\x6ag\x73\x62"]="\x6c\x61\x62\x69\x6e\x76\x6f\x69\x63\x65\x5f\x75\x70\x64a\x74e";${"G\x4c\x4f\x42A\x4c\x53"}["g\x6d\x71s\x68y\x79\x75r\x61"]="\x75\x70\x64\x61\x74\x65lab\x69\x6evo\x69\x63\x65";$twqckbwynh="labin\x76\x6fic\x65\x5f\x66i\x6eal\x64\x69\x73\x63";$emtdegxo="\x6c\x61b\x69\x6e\x76\x6f\x69c\x65_\x72\x65\x63e\x69\x76\x65\x61\x6d\x6f\x75\x6e\x74";${${"\x47\x4c\x4fB\x41L\x53"}["\x74\x70l\x66\x76q\x74\x76\x75\x6b\x73f"]}=$_POST["upda\x74e_\x75s\x65\x72"];${${"\x47\x4cOB\x41\x4c\x53"}["g\x71\x6a\x67sb"]}=date("Y-\x6d-d\x20h:\x69:s");${$twqckbwynh}=$_POST["\x6ca\x62invoi\x63\x65\x5ffi\x6e\x61ldi\x73c"];${${"\x47\x4c\x4f\x42\x41L\x53"}["j\x6b\x6dt\x78\x6c\x75\x6f"]}=$_POST["\x63\x6fll\x65\x63\x74i\x6fn_amoun\x74"];${"\x47\x4cOB\x41LS"}["\x62\x67y\x78\x74\x72\x69lj\x62"]="l\x61\x62i\x6evo\x69c\x65_\x64\x75e2";${${"\x47L\x4fB\x41\x4c\x53"}["bgyx\x74r\x69\x6cjb"]}=${${"\x47L\x4f\x42A\x4c\x53"}["\x6f\x68\x6f\x73\x6a\x68h"]}-${$emtdegxo}-${${"G\x4c\x4fB\x41\x4cS"}["\x65\x61i\x62z\x67\x72x\x64\x78"]}-${${"G\x4c\x4f\x42\x41L\x53"}["\x6akmt\x78\x6c\x75o"]};${"GL\x4f\x42\x41\x4c\x53"}["\x69d\x6a\x6c\x6ad\x66ln"]="u\x70da\x74e\x6c\x61b\x69n\x76\x6f\x69\x63\x65";${${"\x47L\x4fB\x41\x4c\x53"}["u\x6b\x61\x77i\x78\x77w\x6c\x68"]}="\x75\x70\x64a\x74\x65 \x6c\x61\x62i\x6e\x76oice\x20se\x74 \t\x60\x6c\x61b\x69nvoic\x65\x5f\x70\x61t\x69\x65n\x74\x69d`='$labinvoice_patientid\x27,\n\t\t\t\t\t\t\t\t\t\t`la\x62\x69\x6evoice_p\x61t\x69\x65\x6et\x63od\x65`=\x27$labinvoice_patientcode\x27,\n\t\t\t\t\t\t\t\t\t\t\x60la\x62in\x76o\x69\x63\x65_p\x61t\x69e\x6e\x74\x60='$labinvoice_patient\x27,\n\t\t\t\t\t\t\t\t\t\t`\x75p\x64a\x74e_\x75\x73e\x72\x60\x3d\x27$update_user\x27,\n\t\t\t\t\t\t\t\t\t\t`a\x67e\x60=\x27$age',\n\x20\t\t\t\t\t\t\t\t\t\t`\x75\x70\x64\x61teip\x60=\x27$ipaddress',\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62invoice_\x61ge\x60='$labinvoice_age\x27,\n\t\t\t\t\t\t\t\t\t\t\x60lab\x69n\x76oi\x63\x65_gen\x64e\x72\x60=\x27$labinvoice_gender\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6ca\x62\x69nvo\x69\x63e\x5faddr\x65\x73s\x60\x3d'$labinvoice_address',\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61bi\x6e\x76oi\x63\x65_\x6d\x6fb\x69l\x65`\x3d'$labinvoice_mobile',\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62i\x6evo\x69ce_d\x6f\x63\x74or`=\x27$labinvoice_doctor',\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61bin\x76oice\x5f\x70c`\x3d\x27$labinvoice_pc\x27,\n\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69n\x76oi\x63e_\x6d\x70\x6f\x60\x3d'$labinvoice_mpo',\n\t\t\t\t\t\t\t\t\t\t\x60\x6cab\x69n\x76\x6f\x69\x63e\x5f\x77a\x72d\x60\x3d\x27$labinvoice_ward\x27,\n\t\t\t\t\t\t\t\t\t\t`l\x61\x62\x69nv\x6f\x69\x63\x65_s\x75\x62t\x6f\x74a\x6c`\x3d'$labinvoice_subtotal\x27,\n\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61bi\x6e\x76\x6fice\x5f\x74\x6f\x74\x61ld\x69\x73\x63p\x60=\x27$labinvoice_totaldiscp',\n\t\t\t\t\t\t\t\t\t\t`la\x62i\x6evoi\x63e_tot\x61ldisc`\x3d'$labinvoice_totaldisc\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6ca\x62in\x76o\x69\x63e_\x74\x6ft\x61lpc\x63\x6fmi\x73s\x69\x6f\x6e`\x3d'$labinvoice_totalpccomission\x27,\n\t\t\t\t\t\t\t\t\t\t`lab\x69nvo\x69c\x65\x5fto\x74\x61\x6c\x64\x72c\x6f\x6dis\x73\x69\x6f\x6e`\x3d'$labinvoice_totaldrcomission',\n\t\t\t\t\t\t\t\t\t\t\x60\x65merg\x65n\x63yp`=\x27$emergencyp',\n\t\t\t\t\t\t\t\t\t\t`\x65me\x72g\x65\x6ec\x79\x60='$emergency',\n\t\t\t\t\t\t\t\t\t\t`l\x61\x62\x69\x6ev\x6f\x69c\x65_subt\x6ft\x61l\x61f\x74e\x72\x64\x69\x73c`\x3d\x27$labinvoice_subtotalafterdisc',\n\t\t\t\t\t\t\t\t\t\t\x60l\x61\x62inv\x6fi\x63\x65\x5fre\x63ei\x76\x65a\x6d\x6fu\x6e\x74`\x3d\x27$labinvoice_receiveamount\x27,\n\t\t\t\t\t\t\t\t\t\t\x60la\x62invo\x69c\x65\x5fde\x73cr\x69pt\x69o\x6e\x60=\x27$labinvoice_description\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6cab\x69\x6e\x76o\x69ce_\x64\x75es\x68ol\x64\x65r\x60='$labinvoice_duesholder\x27,\n\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62inv\x6fic\x65\x5fprev\x69ou\x73d\x75e\x60\x3d'$labinvoice_previousdue\x27,\n\t\t\t\t\t\t\t\t\t\t`p\x72\x65v\x69\x6fu\x73\x5f\x6cab\x69n\x76o\x69ce\x5ft\x6ft\x61l\x70cco\x6di\x73s\x69o\x6e`=\x27$previous_labinvoice_totalpccomission\x27,\n\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62\x69\x6ev\x6f\x69\x63\x65_du\x65\x60='$labinvoice_due2\x27,\n\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61b\x69n\x76\x6f\x69\x63\x65\x5f\x75p\x64\x61\x74e`\x3d'$labinvoice_update\x27,\n\t\t\t\t\t\t\t\t\t\t`la\x62i\x6e\x76\x6fic\x65_\x64\x65li\x76ery\x64\x61t\x65\x60\x3d'$labinvoice_deliverydate\x27\x20\n\t\t\t\t\t\t\t\tw\x68\x65re\x20\x6c\x61b\x69nvoi\x63e\x5fi\x64=\x27$labinvoice_id'";${${"GL\x4f\x42AL\x53"}["\x69\x64j\x6c\x6a\x64f\x6c\x6e"]}=mysqli_query(${${"\x47L\x4fB\x41LS"}["\x65\x6e\x71g\x79\x74\x6e\x74\x65"]},${${"\x47\x4c\x4fBAL\x53"}["\x75\x6b\x61w\x69xww\x6c\x68"]});if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["g\x6d\x71\x73\x68\x79\x79u\x72\x61"]}){$bmitklgoggz="lab\x69\x6evo\x69c\x65\x5f\x69\x74\x65\x6d\x61rr\x61\x79";if(${${"\x47\x4c\x4fB\x41\x4cS"}["\x62y\x62\x6e\x6dmkx\x71\x69\x61"]}!=""&&is_array(${$bmitklgoggz})){${"GL\x4f\x42AL\x53"}["\x72go\x76\x6dx\x77\x76\x6c"]="\x6c\x61\x62\x69\x6evoi\x63\x65_\x69\x74e\x6d\x61r\x72\x61y";${"\x47\x4c\x4fBA\x4cS"}["j\x79\x6f\x6a\x6c\x67\x68\x7aqm\x73"]="\x61u\x74\x6f\x5f\x6eu\x6d\x62e\x72\x61\x72\x72a\x79";$qxkrmybwiy="\x70";${$qxkrmybwiy}=0;${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6ay\x6f\x6a\x6c\x67\x68zqm\x73"]}=$_POST["\x61\x75\x74o\x5fn\x75mbe\x72"];foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72go\x76m\x78\x77\x76\x6c"]} as${${"\x47L\x4f\x42\x41LS"}["x\x7a\x75t\x66\x65"]}){${"\x47\x4c\x4f\x42\x41LS"}["\x74l\x6b\x6e\x65\x62s"]="\x6e\x6f\x74\x65";$gidmoe="\x70";$llpvmcutfbit="u\x70\x64\x61te\x5f\x75\x73\x65\x72";$podajwum="\x6c\x61\x62i\x74e\x6d_i\x64\x61r\x72a\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x6a\x64\x64\x72\x63yc\x62\x69"]="l\x61\x62\x69n\x76oi\x63e\x5f\x72\x61\x74\x65\x61\x72ra\x79";${"G\x4c\x4fB\x41\x4c\x53"}["\x63dm\x76\x66\x6av\x66"]="au\x74\x6f\x5f\x6e\x75\x6d\x62\x65r\x61rra\x79";${"\x47L\x4f\x42\x41\x4cS"}["envt\x6c\x6f\x67"]="\x6c\x61bin\x76o\x69\x63\x65d\x65\x74ai\x6cs_\x71\x74\x79";${"\x47\x4cO\x42\x41LS"}["\x69p\x6a\x6a\x74ur\x67j\x7a\x77s"]="p";$cipxhnmo="a\x75\x74\x6f\x5f\x6e\x75m\x62\x65\x72";$mlppwmt="\x70";$ywypcbknn="\x6c\x61\x62\x69\x6e\x76oic\x65\x64\x65\x74a\x69\x6cs_t\x6f\x74\x61l";$fvhmdzj="la\x62i\x74e\x6d_i\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x64w\x71d\x62\x6cka\x77\x66"]="\x6c\x61\x62i\x6e\x76\x6f\x69\x63e\x5fd\x69\x73\x63\x61\x72ra\x79";$wgdzuiu="\x6c\x61\x62\x69n\x76\x6f\x69\x63\x65\x64e\x74\x61\x69\x6c\x73_i\x74e\x6d";${$cipxhnmo}=${${"\x47\x4cO\x42\x41LS"}["\x63\x64\x6dvf\x6a\x76\x66"]}[${$gidmoe}];${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x68\x69gz\x68\x74"]="\x6ca\x62\x69\x6evo\x69\x63e\x5f\x69t\x65m\x61\x72\x72a\x79";$qhcqcxsvh="\x75\x70\x64\x61\x74\x65_u\x73e\x72";${"G\x4cO\x42\x41\x4c\x53"}["\x74x\x71bhr\x6esx\x63\x67"]="\x70";${"G\x4c\x4f\x42\x41\x4cS"}["j\x65\x6c\x68\x66o\x6b\x62v"]="\x70";$sjghbawbffg="\x6f\x72d\x65\x72\x62\x79\x61\x72r\x61\x79";${$fvhmdzj}=${$podajwum}[${${"\x47\x4cOB\x41L\x53"}["\x76\x6f\x6ah\x6f\x6a\x65\x64s\x67"]}];${$wgdzuiu}=${${"G\x4c\x4f\x42\x41\x4cS"}["\x67\x68\x69\x67\x7a\x68\x74"]}[${${"\x47\x4cO\x42AL\x53"}["v\x6f\x6a\x68ojed\x73g"]}];${$llpvmcutfbit}=${$qhcqcxsvh};${"\x47\x4cOB\x41LS"}["\x64\x74\x67\x62\x67i\x6bo\x75\x72\x69"]="\x6c\x61\x62\x69\x6evo\x69ce\x64\x65t\x61\x69\x6c\x73\x5f\x71\x74\x79";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65jm\x67\x76\x77\x78d"]="\x70";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x6c\x6b\x6e\x65bs"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6en\x63royi\x61\x69"]}[${$mlppwmt}];$bnsgjdhcb="l\x61\x62\x69\x6ev\x6fi\x63e\x5f\x64\x69sco\x75n\x74\x70a\x72\x72\x61\x79";${"\x47LO\x42\x41LS"}["\x6ct\x71ef\x62p\x6f\x6d\x6e"]="\x70";$csbovsyv="o\x72\x64e\x72by";$czkxresozoe="\x70";${$csbovsyv}=${$sjghbawbffg}[${$czkxresozoe}];${${"GLO\x42\x41\x4c\x53"}["\x65\x6evt\x6c\x6f\x67"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x67x\x6f\x67x\x63\x6cq\x63o"]}[${${"\x47\x4c\x4fBA\x4c\x53"}["\x74x\x71\x62hrnsx\x63g"]}];${${"GLOB\x41L\x53"}["em\x64\x6a\x6d\x68\x75\x7a"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x6add\x72c\x79\x63\x62\x69"]}[${${"GL\x4fB\x41L\x53"}["\x6ael\x68f\x6fkbv"]}];$vyxidvfceg="p";${${"G\x4c\x4f\x42\x41L\x53"}["\x61\x69l\x64\x6ee\x7ami\x67\x75"]}=${$bnsgjdhcb}[${${"G\x4cO\x42\x41\x4c\x53"}["\x76\x6fjh\x6f\x6ae\x64\x73\x67"]}];${"\x47\x4c\x4f\x42\x41LS"}["\x72\x79\x62dc\x66\x66r"]="\x73\x71\x6c";${${"\x47\x4cOB\x41L\x53"}["\x66\x6e\x7a\x6bs\x78uvw\x71"]}=${${"\x47\x4cOBALS"}["\x62dwq\x64\x62l\x6ba\x77\x66"]}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x74\x71\x65f\x62\x70\x6f\x6dn"]}];${$ywypcbknn}=${${"G\x4c\x4f\x42A\x4c\x53"}["gg\x68o\x79\x6b\x6e\x65d"]}[${${"\x47\x4cO\x42AL\x53"}["\x69\x70\x6a\x6at\x75\x72\x67\x6a\x7a\x77\x73"]}];${${"G\x4cOB\x41\x4c\x53"}["ewv\x77j\x76\x6cz\x69\x77\x6a\x78"]}=${${"GL\x4fB\x41\x4cS"}["\x69\x65\x73\x6c\x6cd\x65\x71"]}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["v\x6f\x6ah\x6f\x6a\x65d\x73\x67"]}];${${"GL\x4fB\x41\x4c\x53"}["\x69\x75yd\x69ej\x6e\x70y"]}=${${"G\x4cO\x42A\x4c\x53"}["\x63s\x6b\x64\x75q\x66v\x6e\x79"]}[${${"GLO\x42\x41L\x53"}["e\x6a\x6d\x67vw\x78\x64"]}];${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73i\x77yh\x7a"]}=date("\x59-m-\x64\x20h:\x69:s");${${"G\x4cOB\x41L\x53"}["\x75\x6ba\x77\x69\x78\x77\x77\x6c\x68"]}="u\x70date\x20labinv\x6fi\x63\x65de\x74a\x69l\x73\x20se\x74 \x60labi\x6e\x76o\x69\x63e_id`\x20=\x20'$labinvoice_id', \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t \x60\x75\x70\x64\x61te\x5fuser` =\x20'$update_user\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t `no\x74\x65` \x3d '$note',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t \x60\x6f\x72d\x65r\x62y` \x3d\x20'$orderby\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x20\x60\x73\x74\x61\x74\x75s\x60='D\x65\x6c\x65\x74e\x64\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x20`\x6c\x61b\x69\x6e\x76\x6fic\x65de\x74\x61\x69ls\x5fupda\x74e` =\x20'$labinvoicedetails_update\x27\n\t\t\t\t\t\t\t\t\t\t\t\t\x20\x20\t\x77\x68er\x65\x20auto_\x6e\x75m\x62er\x20= $auto_number";mysqli_query(${${"\x47\x4cO\x42ALS"}["\x65\x6e\x71g\x79\x74\x6ete"]},${${"\x47\x4cO\x42\x41\x4cS"}["ryb\x64cf\x66r"]});if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x64t\x67\x62g\x69\x6b\x6f\x75\x72\x69"]}>0){$synvlewtm="la\x62\x71\x75e\x72\x79";$ijmsncmbi="\x73\x71\x6co\x6e\x65\x72ow";${"\x47L\x4f\x42A\x4c\x53"}["\x67\x67\x69\x75x\x72p"]="l\x61\x62q\x75\x65\x72y";${$ijmsncmbi}="s\x65l\x65c\x74\x20* \x66ro\x6d labitem \x77\x68e\x72\x65\x20l\x61\x62it\x65m_\x69d\x20\x3d\x20$labitem_id";${${"\x47L\x4fBA\x4c\x53"}["\x67g\x69\x75\x78\x72p"]}=mysqli_query(${${"\x47LO\x42ALS"}["\x65\x6e\x71\x67y\x74\x6et\x65"]},${${"\x47L\x4f\x42\x41L\x53"}["\x69\x76\x76j\x65\x67\x7a\x64"]});if(${${"\x47\x4c\x4f\x42A\x4cS"}["b\x6ej\x68\x76\x62\x65\x61\x72\x79\x6e"]}&&mysqli_num_rows(${$synvlewtm})>0){$mojwbmgwlhzm="l\x61b\x71\x75\x65\x72\x79";${"G\x4c\x4fBA\x4c\x53"}["\x69v\x67\x6c\x70\x67\x6e\x74\x70\x79j\x71"]="\x6c\x61\x62\x72o\x77";while(${${"\x47\x4c\x4fB\x41L\x53"}["\x69\x76glp\x67\x6et\x70y\x6aq"]}=mysqli_fetch_array(${$mojwbmgwlhzm})){$fecoldpvnuy="\x75\x70\x64\x61\x74e\x73ql";${${"G\x4cO\x42\x41L\x53"}["\x6c\x6b\x69\x6ebfv"]}=${${"GLO\x42\x41\x4c\x53"}["\x70v\x71\x74dx\x67\x75h"]}["\x6ca\x62i\x74e\x6d\x5f\x69d"];$ppvxwmebfja="u\x70\x64a\x74\x65\x6ca\x62\x69nv\x6f\x69\x63\x65";$wmbqlgsvixg="\x6c\x61\x62i\x6e\x76o\x69\x63\x65\x64\x65ta\x69\x6cs\x5f\x71\x74y";${${"\x47LOB\x41LS"}["\x78\x6df\x74\x6cnpo\x66"]}=${${"G\x4cOB\x41L\x53"}["\x70\x76q\x74\x64\x78\x67\x75h"]}["l\x61\x62\x69t\x65m_r\x65a\x67\x65nt"];${${"\x47\x4c\x4fB\x41L\x53"}["\x63\x6bj\x68\x71\x64\x72\x70\x79e\x79\x65"]}=round(${${"G\x4cO\x42\x41\x4c\x53"}["xm\x66\x74\x6c\x6epo\x66"]}-${$wmbqlgsvixg});${$fecoldpvnuy}="\x75pd\x61\x74e\x20\x6c\x61\x62\x69t\x65m \x73et\x20`\x6c\x61bite\x6d\x5freag\x65n\x74\x60\x3d\x27$currentstock_after_sale\x27\x20\x77he\x72\x65\x20la\x62\x69\x74e\x6d\x5fid=$labitem_id";${$ppvxwmebfja}=mysqli_query(${${"G\x4c\x4f\x42\x41\x4cS"}["\x65n\x71gy\x74n\x74\x65"]},${${"G\x4c\x4fB\x41LS"}["v\x68\x7as\x62m\x63v"]});}}}${$vyxidvfceg}++;}}if(${${"\x47\x4c\x4f\x42AL\x53"}["\x6a\x69\x66yk\x78"]}){$lodtwxcr="\x6cabi\x6e\x76\x6f\x69ce\x5f\x69\x74\x65\x6d\x61\x72\x72ay";${"\x47\x4cOBA\x4cS"}["\x63\x75u\x77l\x65\x69"]="\x6cab\x69n\x76\x6fi\x63\x65_\x64\x61te";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x75l\x68f\x6a\x75v\x79"]="\x6c\x61\x62in\x76o\x69c\x65_ite\x6da\x72\x72\x61\x79";${${"G\x4c\x4f\x42\x41L\x53"}["c\x75\x75\x77l\x65\x69"]}=$_POST["\x6ca\x62\x69\x6e\x76o\x69ce_d\x61\x74e"];if(${$lodtwxcr}!=""&&is_array(${${"GL\x4f\x42\x41L\x53"}["\x66\x75lhf\x6auv\x79"]})){$gwflhnxlmwg="\x6c\x61\x62i\x6e\x76\x6fice\x5f\x69\x74\x65\x6d";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6fj\x68\x6f\x6ae\x64\x73\x67"]}=0;foreach(${${"\x47\x4c\x4fB\x41\x4c\x53"}["b\x79\x62\x6em\x6d\x6b\x78\x71\x69\x61"]} as${$gwflhnxlmwg}){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x77q\x70\x6a\x66\x66f"]="\x70";$wqgobuy="p";${"G\x4c\x4fB\x41\x4c\x53"}["ur\x63\x63\x7ak\x74nz\x73"]="la\x62\x69\x6e\x76\x6f\x69\x63\x65\x64\x65\x74ai\x6c\x73\x5f\x73am\x70\x6c\x65";${"\x47LO\x42A\x4c\x53"}["u\x69\x77q\x67\x67p\x71"]="la\x62\x69n\x76\x6f\x69ce\x5f\x72\x61t\x65\x61\x72\x72a\x79";$rfkdugsf="\x75s\x65\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x63\x79kxao\x61mv\x79"]="\x70";${"\x47\x4c\x4fBA\x4cS"}["o\x6c\x67a\x65s\x72c\x6b"]="\x70";$hdoahscv="\x75\x73\x65\x72";$erxxpxcjr="\x6c\x61\x62i\x6e\x76\x6f\x69\x63ede\x74ails\x5fpc\x63\x6f\x6d\x69\x73\x73\x69\x6f\x6e";$fmktyyi="m\x61\x63\x68\x69n\x65\x5f\x6e\x61\x6d\x65";${"\x47LO\x42\x41LS"}["\x71\x68\x62\x71\x72\x68\x66"]="p";${${"\x47L\x4fB\x41\x4c\x53"}["l\x6bi\x6e\x62\x66v"]}=${${"\x47\x4c\x4fBAL\x53"}["\x6f\x72vq\x64hh\x65\x75\x66\x71"]}[${$wqgobuy}];${"\x47\x4cOBAL\x53"}["\x76ttv\x67\x6cq\x65\x6d"]="m\x61\x63\x68\x69n\x65_\x6ea\x6de\x61\x72ray";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ft\x63k\x73\x68"]}=${${"G\x4c\x4fB\x41L\x53"}["\x62y\x62\x6e\x6d\x6d\x6b\x78\x71ia"]}[${${"GL\x4f\x42\x41\x4cS"}["\x76\x6f\x6a\x68\x6f\x6ae\x64\x73g"]}];${"\x47\x4cO\x42\x41LS"}["\x73\x7a\x64\x72\x69\x6c"]="\x70";${"G\x4c\x4fB\x41\x4c\x53"}["vc\x76\x6f\x72\x77\x62\x71\x69\x64s\x79"]="no\x74\x65";$noyjsxpob="l\x61b\x69\x6e\x76\x6fice\x64e\x74\x61\x69ls\x5f\x72\x61te";${${"\x47LO\x42A\x4cS"}["\x78\x6c\x77v\x6bm"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["jj\x6em\x6el\x65\x66uh\x76"]}[${${"\x47\x4cO\x42\x41L\x53"}["\x76\x6f\x6ah\x6f\x6ae\x64\x73\x67"]}];$ooqrdbg="\x70";$wabwyldxwz="l\x61\x62i\x6e\x76\x6f\x69\x63\x65\x64\x65t\x61\x69\x6cs\x5f\x71t\x79";$xofremehpg="\x6c\x61\x62\x69\x6e\x76o\x69\x63\x65_\x70\x63\x63\x6f\x6dis\x73i\x6f\x6e\x61\x72\x72\x61\x79";${"\x47L\x4fBAL\x53"}["xe\x75b\x65\x71mz"]="l\x61\x62\x69\x6e\x76o\x69c\x65\x5f\x64\x69\x73c\x61\x72\x72\x61\x79";${${"G\x4cOB\x41L\x53"}["\x76etbs\x61\x62\x71\x6fz\x67\x76"]}=${${"\x47\x4c\x4fB\x41L\x53"}["\x65k\x6c\x6a\x75\x65\x75\x6du\x75"]}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["v\x6fjhoj\x65ds\x67"]}];${${"G\x4cOB\x41\x4cS"}["\x64\x68\x64r\x69do\x6d\x77\x79\x65"]}=${${"\x47LO\x42\x41L\x53"}["\x65\x74\x69\x68\x6a\x6d\x67"]}[${${"GLO\x42\x41L\x53"}["\x76o\x6a\x68\x6f\x6a\x65ds\x67"]}];${"GL\x4f\x42A\x4cS"}["\x6c\x62\x66t\x72a\x63\x65\x76\x70\x69"]="\x6c\x61\x62in\x76\x6fic\x65\x5f\x72\x65\x66\x76a\x6c\x75e\x61\x72\x72\x61\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["pl\x78\x63\x64\x6dr\x64\x75"]="\x70";$faensur="\x6ca\x62\x69n\x76oi\x63\x65\x5f\x74\x65\x73\x74\x67\x72o\x75p\x61\x72\x72\x61y";$cpjcyick="\x6f\x72d\x65\x72\x62y";${"\x47\x4c\x4fB\x41\x4c\x53"}["u\x76\x62\x66\x62yq\x6bmf\x70"]="\x6eo\x74\x65\x61\x72\x72\x61\x79";${"GL\x4f\x42\x41\x4c\x53"}["\x6c\x67\x7ak\x76i\x6d"]="\x6c\x61\x62i\x6ev\x6f\x69\x63\x65\x64\x65\x74\x61\x69l\x73_i\x74e\x6d";${"\x47L\x4f\x42A\x4cS"}["\x6e\x6ex\x78\x77\x73c\x73m\x72"]="\x70";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x7a\x76\x6al\x6aos\x64"]="p";$crwwuhu="\x6frde\x72\x62y\x61\x72\x72\x61y";${${"G\x4c\x4f\x42\x41LS"}["v\x63\x76\x6f\x72\x77\x62q\x69\x64\x73y"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x76b\x66\x62\x79q\x6b\x6d\x66\x70"]}[${${"\x47\x4c\x4fB\x41\x4cS"}["\x6f\x6c\x67ae\x73r\x63\x6b"]}];$aovbrqk="p";${$cpjcyick}=${$crwwuhu}[${${"\x47L\x4fB\x41\x4cS"}["\x71\x68b\x71\x72\x68\x66"]}];${${"\x47\x4cOBAL\x53"}["\x65dd\x65fj\x6a"]}=${$faensur}[${${"\x47LO\x42A\x4c\x53"}["\x76\x6fj\x68\x6fj\x65d\x73\x67"]}];${${"\x47\x4c\x4fB\x41\x4cS"}["\x75\x72cc\x7akt\x6e\x7a\x73"]}=${${"\x47L\x4fBALS"}["\x67t\x67sl\x73\x62r"]}[${${"G\x4c\x4f\x42AL\x53"}["\x73\x7a\x64\x72\x69l"]}];$syqelwd="\x6c\x61b\x69\x6evoi\x63\x65_\x64is\x63\x6fu\x6et\x70arr\x61y";${$fmktyyi}=${${"G\x4c\x4fB\x41\x4c\x53"}["\x76t\x74\x76\x67\x6c\x71em"]}[${${"GLO\x42A\x4c\x53"}["\x70l\x78c\x64\x6d\x72\x64u"]}];${$rfkdugsf}=${$hdoahscv};${${"GL\x4f\x42\x41\x4c\x53"}["\x76rn\x77m\x68\x71\x67\x73\x77"]}=${${"\x47L\x4f\x42AL\x53"}["\x67\x64\x6c\x75\x6c\x73m\x77f\x63\x6e"]}[${${"G\x4c\x4fB\x41\x4c\x53"}["\x76\x6f\x6a\x68\x6fjed\x73\x67"]}];${${"GL\x4f\x42A\x4c\x53"}["\x6a\x74j\x79j\x6f\x63\x63"]}=${${"G\x4c\x4f\x42\x41LS"}["\x6cb\x66\x74\x72acev\x70\x69"]}[${${"G\x4cO\x42\x41L\x53"}["vo\x6a\x68\x6f\x6a\x65\x64s\x67"]}];${$noyjsxpob}=${${"\x47LO\x42A\x4cS"}["u\x69w\x71\x67\x67p\x71"]}[${${"GLO\x42\x41\x4c\x53"}["\x68\x77q\x70j\x66\x66\x66"]}];${$wabwyldxwz}=${${"\x47L\x4f\x42AL\x53"}["\x68\x67x\x6f\x67\x78c\x6c\x71co"]}[${${"\x47\x4c\x4fBALS"}["n\x63\x79k\x78ao\x61m\x76\x79"]}];${${"\x47\x4cOB\x41\x4c\x53"}["\x61\x69l\x64\x6e\x65z\x6digu"]}=${$syqelwd}[${$aovbrqk}];${"\x47L\x4f\x42A\x4cS"}["\x73\x68\x76j\x73\x62"]="\x6c\x61b\x69\x6e\x76\x6f\x69\x63\x65\x64e\x74\x61\x69l\x73\x5ft\x6f\x74\x61\x6c";${${"\x47LO\x42\x41\x4c\x53"}["\x66\x6e\x7ak\x73\x78\x75\x76\x77q"]}=${${"\x47\x4cO\x42\x41L\x53"}["x\x65\x75b\x65q\x6dz"]}[${${"\x47\x4c\x4fB\x41L\x53"}["\x6e\x6e\x78xw\x73c\x73\x6dr"]}];${"GL\x4fBA\x4c\x53"}["\x74\x6d\x65\x63\x67\x61\x78\x75\x66\x75"]="\x6c\x61\x62\x69\x6ev\x6fice_tot\x61\x6ca\x72\x72\x61y";${${"GL\x4f\x42\x41\x4cS"}["\x73\x68v\x6as\x62"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74\x6d\x65\x63\x67ax\x75f\x75"]}[${${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x6f\x6a\x68\x6fj\x65\x64s\x67"]}];${$erxxpxcjr}=${$xofremehpg}[${$ooqrdbg}];${${"\x47L\x4fBALS"}["\x69u\x79d\x69\x65\x6a\x6ep\x79"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["cs\x6b\x64\x75\x71\x66vny"]}[${${"G\x4cO\x42\x41LS"}["\x7av\x6a\x6c\x6aos\x64"]}];${${"G\x4cOB\x41\x4cS"}["\x73\x69\x77\x79\x68z"]}=${${"\x47\x4c\x4f\x42A\x4cS"}["fl\x62\x70\x74\x6d\x74m\x69"]};if(${${"\x47L\x4f\x42\x41L\x53"}["lg\x7a\x6bv\x69\x6d"]}!=""){${${"G\x4c\x4f\x42AL\x53"}["u\x6ba\x77\x69\x78w\x77l\x68"]}="\x69\x6es\x65\x72t\x20i\x6e\x74o\x20la\x62i\x6e\x76\x6fi\x63\x65de\x74\x61i\x6c\x73\x20\x73et\x20\x60lab\x69nv\x6fi\x63e_i\x64`\x20\x3d\x20'$labinvoice_id',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62\x69\x6e\x76\x6f\x69c\x65\x5f\x70\x61t\x69ent\x69\x64`\x3d'$labinvoice_patientid', \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`l\x61\x62i\x6ev\x6f\x69\x63\x65\x5fpatien\x74cod\x65`='$labinvoice_patientcode\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6ca\x62i\x6ev\x6f\x69c\x65\x64\x65\x74ai\x6c\x73\x5f\x69te\x6d`\x20= \x27$labinvoicedetails_item\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`us\x65r\x60\x20= \x27$user\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x75p\x64\x61\x74\x65\x5f\x75s\x65\x72`\x20\x3d\x20'$update_user\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69\x6e\x76\x6ficedetai\x6c\x73\x5fup\x64\x61t\x65` \x3d '$labinvoicedetails_update\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`la\x62\x69\x6e\x76\x6f\x69c\x65de\x74a\x69l\x73_\x67r\x6f\x75\x70\x60\x20= '$labinvoicedetails_group\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61\x62in\x76\x6f\x69ced\x65\x74ails_c\x61\x74e\x67o\x72y\x60 = '$labinvoicedetails_category',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x63\x61tego\x72\x79\x60\x20= '$category\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6e\x6f\x74e`\x20\x3d '$note',\n\x20\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`labi\x6e\x76oiced\x65ta\x69ls\x5f\x74e\x73tgro\x75\x70` =\x20\x27$labinvoicedetails_testgroup\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62\x69\x6evoic\x65\x64e\x74\x61ils_s\x61\x6d\x70\x6c\x65\x60 = '$labinvoicedetails_sample\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6da\x63hi\x6e\x65_n\x61me\x60 =\x20\x27$machine_name\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62\x69\x6e\x76\x6fi\x63\x65\x64\x65\x74a\x69\x6c\x73_unit` \x3d\x20\x27$labinvoicedetails_unit\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6cab\x69\x6e\x76oi\x63\x65\x64\x65t\x61\x69\x6cs_re\x66\x76\x61\x6c\x75e` =\x20\x27$labinvoicedetails_refvalue\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`l\x61bin\x76o\x69\x63e\x64e\x74\x61i\x6cs_ra\x74\x65\x60 \x3d \x27$labinvoicedetails_rate\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6cab\x69\x6e\x76\x6fi\x63\x65deta\x69l\x73\x5fqty\x60\x20\x3d \x27$labinvoicedetails_qty',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`labi\x6e\x76oi\x63e\x64\x65ta\x69\x6c\x73\x5f\x64\x69\x73\x63\x6fun\x74\x70\x60 \x3d\x20'$labinvoicedetails_discountp',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61bi\x6evoi\x63\x65\x64\x65tai\x6cs\x5f\x64i\x73\x63` \x3d\x20\x27$labinvoicedetails_disc',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60labi\x6e\x76oi\x63\x65d\x65\x74\x61\x69l\x73\x5f\x74\x6fta\x6c` \x3d\x20\x27$labinvoicedetails_total',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6cab\x69\x6evo\x69ce\x64e\x74a\x69l\x73\x5fpcco\x6d\x69\x73sion\x60\x20\x3d \x27$labinvoicedetails_pccomission\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62\x69\x6e\x76oi\x63ed\x65t\x61\x69\x6cs_drco\x6d\x69\x73\x73io\x6e`\x20=\x20'$labinvoicedetails_drcomission\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60lab\x69\x6ev\x6f\x69\x63\x65\x64\x65\x74a\x69\x6c\x73_\x64ate` = \x27$labinvoice_date\x27";${"\x47L\x4fB\x41\x4c\x53"}["\x63\x69\x64m\x77b\x6e"]="\x73ql";mysqli_query(${${"\x47\x4c\x4f\x42\x41LS"}["\x65\x6e\x71\x67y\x74nt\x65"]},${${"GLO\x42\x41\x4c\x53"}["\x63\x69d\x6d\x77\x62\x6e"]});}${${"G\x4cO\x42AL\x53"}["\x76\x6f\x6a\x68\x6f\x6a\x65d\x73\x67"]}++;}}if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x6c\x78t\x6cg\x74\x6d\x66js"]}==0){$kugvpdbwxyo="\x6c\x61b\x69\x6e\x76\x6f\x69\x63\x65\x5f\x72e\x63\x65\x69\x76eam\x6f\x75n\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x68\x6f\x73j\x68h"]}=$_POST["l\x61bi\x6e\x76\x6fi\x63e_\x73u\x62tot\x61laf\x74er\x64isc"];$bzkmwdnmhrl="\x6c\x61\x62\x71u\x65\x72\x79";$skhhrcukc="l\x61\x62\x71\x75\x65\x72y";$bxbwlwuy="c\x6f\x6en";$bbiblryk="\x73qlo\x6ee\x72\x6fw";${$kugvpdbwxyo}=$_POST["\x6c\x61\x62i\x6e\x76\x6f\x69ce\x5frece\x69ve\x61\x6d\x6fu\x6e\x74"];${${"\x47L\x4f\x42\x41\x4c\x53"}["\x71\x62w\x70\x70\x71\x74\x6en"]}=$_POST["lab\x69\x6e\x76oic\x65_du\x65"];${$bbiblryk}="sel\x65\x63\x74\x20*\x20f\x72om l\x61b\x64u\x65\x20\x77\x68e\x72\x65 l\x61\x62i\x6evo\x69ce_\x69\x64 = $labinvoice_id";${$skhhrcukc}=mysqli_query(${$bxbwlwuy},${${"\x47\x4c\x4f\x42\x41L\x53"}["i\x76v\x6a\x65g\x7a\x64"]});if(${$bzkmwdnmhrl}&&mysqli_num_rows(${${"\x47LOB\x41L\x53"}["\x62\x6ejh\x76\x62\x65a\x72\x79n"]})>0){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x6e\x6fbnx\x72\x74aq"]="\x6c\x61\x62\x71\x75er\x79";while(${${"G\x4cOBA\x4c\x53"}["\x70\x76q\x74\x64x\x67\x75\x68"]}=mysqli_fetch_array(${${"\x47\x4c\x4fB\x41\x4cS"}["j\x6e\x6f\x62\x6ex\x72\x74\x61\x71"]})){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71jz\x70\x6d\x6d\x67\x77"]="la\x62\x69nv\x6fi\x63\x65\x5fp\x61\x74\x69en\x74";${"\x47L\x4f\x42\x41L\x53"}["l\x74\x65t\x64jry\x69d"]="\x6c\x61bro\x77";$cvodefwpu="\x73\x71\x6c";$nqcsdsdry="sql";$mlivfpvf="l\x61\x62\x72\x6f\x77";$chzucswmkkx="\x6c\x61b\x64\x75\x65\x5f\x69\x64";${$chzucswmkkx}=${$mlivfpvf}["\x6cab\x64\x75\x65_id"];$pdvkyx="\x6c\x61\x62\x69n\x76\x6f\x69\x63\x65\x5f\x69\x64";${$pdvkyx}=${${"GL\x4f\x42\x41\x4cS"}["l\x74\x65\x74\x64\x6a\x72y\x69\x64"]}["\x6cab\x69nvoi\x63e\x5f\x69\x64"];${${"\x47\x4cOB\x41\x4c\x53"}["rl\x78\x74\x6cgt\x6d\x66j\x73"]}=${${"G\x4cO\x42\x41\x4cS"}["p\x76\x71\x74\x64\x78\x67\x75\x68"]}["labin\x76\x6f\x69c\x65_\x70\x61t\x69\x65\x6et\x69\x64"];${${"\x47L\x4f\x42\x41\x4c\x53"}["\x71jz\x70m\x6d\x67\x77"]}=${${"G\x4cO\x42\x41L\x53"}["p\x76\x71\x74\x64\x78guh"]}["l\x61b\x69\x6e\x76oi\x63\x65_\x70a\x74i\x65\x6et"];${$cvodefwpu}="\x75pd\x61\x74e \x6c\x61\x62\x64\x75\x65\x20se\x74 \x20\x60\x6ca\x62\x69nv\x6fi\x63\x65\x5fi\x64`\x20= '$labinvoice_id',\x20\n\t\t\t\t\t\t\t\t\t\t\t\x60\x6ca\x62\x69nvo\x69c\x65\x5f\x70\x61tien\x74\x69\x64`\x20\x3d\x20'$labinvoice_patientid',\n\t\t\t\t\t\t\t\t\t\t\t`\x6cab\x69\x6e\x76o\x69\x63e\x5fpat\x69ent\x63o\x64\x65`\x20\x3d \x27$labinvoice_patientcode\x27,\n\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61bi\x6ev\x6fi\x63e_\x70at\x69\x65\x6e\x74\x60\x20\x3d \x27$labinvoice_patient',\n\t\t\t\t\t\t\t\t\t\t\t\x60l\x61\x62\x69nvoi\x63\x65_s\x75\x62\x74\x6f\x74\x61\x6c\x61\x66te\x72\x64i\x73\x63`\x3d'$labinvoice_subtotalafterdisc',\n\t\t\t\t\t\t\t\t\t\t\t`labi\x6ev\x6f\x69\x63e\x5fre\x63e\x69\x76e\x61mou\x6et`=\x27$labinvoice_receiveamount',\n\t\t\t\t\t\t\t\t\t\t\t`\x75se\x72\x60='$user',\n\t\t\t\t\t\t\t\t\t\t\t\x60labin\x76\x6fic\x65_\x64ue` \x3d\x20'$labinvoice_due'\n\t\t\t\t\t\t\t\t\t\x20\x20 wh\x65\x72\x65\x20l\x61\x62d\x75e\x5f\x69\x64\x20=\x20'$labdue_id\x27";mysqli_query(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65n\x71g\x79t\x6e\x74e"]},${$nqcsdsdry});}}}if(${${"G\x4c\x4fB\x41L\x53"}["\x6e\x67\x79j\x7a\x75\x62\x79\x68\x62\x65"]}>=0){$wbvzygnu="l\x61\x62\x69\x6e\x76\x6f\x69c\x65_\x64u\x65";${${"\x47LO\x42\x41\x4c\x53"}["o\x68\x6fs\x6ahh"]}=$_POST["\x6c\x61\x62\x69\x6e\x76o\x69ce_\x73u\x62\x74\x6f\x74\x61\x6c\x61\x66te\x72d\x69\x73\x63"];${${"GLO\x42\x41L\x53"}["\x63rik\x65\x76n"]}=$_POST["\x6cab\x69nv\x6f\x69c\x65\x5f\x74ota\x6cd\x69\x73c"];${${"G\x4c\x4f\x42\x41\x4cS"}["ng\x79\x6a\x7au\x62\x79\x68b\x65"]}=$_POST["l\x61bi\x6e\x76\x6fi\x63\x65_r\x65\x63\x65\x69\x76\x65amou\x6et"];${$wbvzygnu}=$_POST["\x6c\x61b\x69\x6e\x76\x6fice\x5f\x64ue"];${${"\x47\x4c\x4f\x42A\x4cS"}["\x62\x69\x6f\x65\x6b\x78"]}=date("\x59-\x6d-d\x20h:\x69:\x73");${"\x47\x4c\x4fB\x41L\x53"}["\x76\x6ey\x6c\x76v\x6c\x6d"]="\x6cabq\x75er\x79";${${"G\x4cO\x42\x41LS"}["\x69\x76\x76jegz\x64"]}="\x73ele\x63\x74\x20*\x20fr\x6fm \x64\x61\x69\x6c\x79tr\x61\x6e\x73\x65c\x74i\x6f\x6e_\x6cab wher\x65\x20l\x61\x62\x69n\x76o\x69ce_\x69d\x20=\x20$labinvoice_id";${"\x47\x4c\x4f\x42A\x4cS"}["\x62\x72\x78\x68\x71\x72"]="l\x61\x62\x71ue\x72y";${${"\x47\x4c\x4f\x42A\x4c\x53"}["b\x6ejhv\x62\x65\x61\x72\x79\x6e"]}=mysqli_query(${${"G\x4c\x4f\x42A\x4c\x53"}["\x65nqgy\x74\x6e\x74\x65"]},${${"\x47\x4c\x4fB\x41L\x53"}["\x69\x76\x76\x6aegzd"]});if(${${"GLOB\x41LS"}["v\x6ey\x6c\x76\x76l\x6d"]}&&mysqli_num_rows(${${"\x47\x4c\x4fB\x41L\x53"}["\x62\x72\x78\x68\x71r"]})>0){${"\x47L\x4f\x42\x41LS"}["\x74j\x71\x76t\x79i"]="\x6c\x61\x62\x72\x6f\x77";while(${${"G\x4c\x4f\x42\x41\x4c\x53"}["t\x6a\x71v\x74\x79i"]}=mysqli_fetch_array(${${"G\x4cO\x42\x41\x4c\x53"}["\x62\x6ej\x68\x76b\x65a\x72yn"]})){$bnnpdxq="l\x61b\x69\x6ev\x6f\x69ce\x5f\x61\x64d\x72\x65s\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x63\x69\x72\x74\x70\x62\x6dc"]="\x6c\x61b\x69n\x76oi\x63\x65_\x6d\x6f\x62\x69\x6c\x65";$nbkyiajwgj="\x6ca\x62i\x6e\x76\x6f\x69\x63\x65\x5f\x70\x61\x74\x69\x65\x6e\x74id";${${"\x47L\x4fB\x41\x4c\x53"}["knr\x79\x74b\x65\x74\x67"]}=${${"G\x4c\x4f\x42\x41LS"}["p\x76q\x74dx\x67\x75h"]}["da\x69\x6c\x79t\x72\x61\x6ese\x63t\x69\x6fn_\x6c\x61b_\x69d"];$hkoxpeghot="l\x61\x62r\x6f\x77";$ohkrglg="l\x61\x62\x72\x6f\x77";$lpwmbijmz="l\x61\x62\x72\x6f\x77";$hcdzenj="\x73\x71\x6c";${"\x47L\x4f\x42\x41\x4c\x53"}["\x77ql\x77\x68\x71\x75\x70bh\x6b\x6e"]="\x63on\x6e";${$nbkyiajwgj}=${$hkoxpeghot}["\x6ca\x62\x69\x6evo\x69\x63e_\x70\x61t\x69en\x74i\x64"];${${"\x47\x4cO\x42A\x4c\x53"}["ci\x72tp\x62\x6dc"]}=${$ohkrglg}["\x6ca\x62invoi\x63\x65_mob\x69le"];${$bnnpdxq}=${$lpwmbijmz}["la\x62i\x6ev\x6fic\x65_a\x64\x64\x72es\x73"];${$hcdzenj}="\x75pda\x74\x65\x20\x64\x61\x69\x6cy\x74\x72a\x6esecti\x6fn_l\x61\x62\x20\x20\x73\x65\x74\x20  `\x6c\x61b\x69nv\x6f\x69c\x65_\x70\x61tie\x6et\x69d\x60 \x3d\x20'$labinvoice_patientid\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61\x62\x69n\x76\x6fi\x63\x65_p\x61\x74\x69\x65ntcode`\x3d\x27$labinvoice_patientcode',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69\x6evoi\x63e\x5fp\x61\x74i\x65nt\x60\x3d\x27$labinvoice_patient\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6cabinv\x6fice_mobi\x6ce`=\x27$labinvoice_mobile\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61bin\x76oi\x63e\x5fa\x64\x64r\x65\x73s\x60\x3d'$labinvoice_address\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61\x62\x69\x6e\x76o\x69\x63\x65\x5f\x70\x63\x60='$labinvoice_pc\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60l\x61b\x69n\x76\x6f\x69\x63e_mp\x6f`=\x27$labinvoice_mpo\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60wa\x72d\x60\x3d\x27$labinvoice_ward\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x64isc\x6funt_\x61\x6d\x6f\x75n\x74`=\x27$discount_amount',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`upda\x74\x65_\x75s\x65r\x60=\x27$update_user',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`la\x62invo\x69c\x65_d\x75\x65`=\x27$labinvoice_due',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6cabinv\x6f\x69c\x65_\x69d\x60\x3d\x27$labinvoice_id',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60\x6c\x61b\x69n\x76\x6f\x69c\x65\x5f\x73\x75b\x74\x6f\x74\x61\x6caf\x74\x65\x72\x64\x69s\x63\x60=\x27$labinvoice_subtotalafterdisc\x27,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\x60dailytr\x61\x6es\x65\x63\x74io\x6e\x5f\x6cab_\x75\x70date`\x3d'$dailytransection_lab_update',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t`\x6c\x61\x62\x69\x6ev\x6fic\x65_r\x65ceiveamou\x6e\x74\x60='$labinvoice_receiveamount\x27\n\t\t\t\t\t\t\t\t\tw\x68e\x72\x65 d\x61\x69\x6c\x79\x74\x72\x61\x6e\x73\x65\x63t\x69o\x6e\x5fl\x61b_id\x3d'$dailytransection_lab_id'\x20\x41\x4e\x44 \x73ect\x69on\x3d\x27\x4c\x61b\x20\x43\x61\x73\x68\x27";mysqli_query(${${"\x47\x4c\x4fBAL\x53"}["\x77\x71\x6c\x77\x68\x71\x75p\x62\x68\x6b\x6e"]},${${"G\x4cOB\x41\x4c\x53"}["uk\x61\x77\x69\x78\x77\x77\x6c\x68"]});}}}header("\x6coca\x74\x69\x6fn:\x69n\x64\x65\x78\x2eph\x70?p=\x73t\x61\x74\x65m\x65ntbyinv\x6f\x69\x63e\x26\x6c\x61\x62\x69n\x76\x6f\x69c\x65\x5f\x69\x64\x3d$labinvoice_id\x26m\x65s\x73ag\x65=\x75\x70\x64\x61\x74e-\x73u\x63\x63e\x73s");}else{$_SESSION["\x6ca\x62\x69n\x76oi\x63e_i\x64"]=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79\x62\x69\x72\x67f\x73\x73"]};${"GLOBA\x4cS"}["grc\x71\x72\x75o\x71i"]="\x6ca\x62\x69nv\x6fi\x63e_\x70\x61t\x69\x65nt\x69\x64";${"\x47L\x4f\x42AL\x53"}["\x6b\x72yf\x66\x73\x78\x74\x64\x71h"]="\x6c\x61\x62i\x6e\x76\x6f\x69\x63\x65_\x70a\x74ie\x6et";$_SESSION["la\x62in\x76oi\x63\x65\x5f\x70\x61\x74ienti\x64"]=${${"\x47\x4c\x4f\x42A\x4cS"}["\x67\x72\x63q\x72\x75\x6fq\x69"]};$_SESSION["\x6c\x61\x62\x69n\x76\x6f\x69\x63\x65\x5f\x70a\x74ie\x6e\x74"]=${${"G\x4c\x4f\x42\x41\x4cS"}["\x6b\x72\x79\x66\x66\x73x\x74d\x71\x68"]};$puqvnjgg="\x6c\x61b\x69\x6evo\x69c\x65_p\x63";$trwxbocogyy="\x6c\x61\x62i\x6e\x76o\x69c\x65\x5f\x67e\x6ed\x65r";$qwkzmn="l\x61bi\x6e\x76\x6fi\x63\x65\x5f\x61\x64dre\x73\x73";$_SESSION["u\x73\x65\x72"]=${${"\x47L\x4f\x42\x41L\x53"}["\x64\x6d\x6b\x78s\x76\x79s\x79"]};${"\x47\x4c\x4fBAL\x53"}["\x75\x79y\x62y\x77\x73\x76"]="\x6c\x61\x62\x69\x6evoice_\x6d\x6f\x62\x69\x6c\x65";${"G\x4cO\x42\x41\x4c\x53"}["\x71p\x6f\x6e\x6d\x68\x6bugr"]="lab\x69\x6e\x76o\x69\x63\x65_\x64\x61\x74\x65";$_SESSION["\x6ca\x62\x69\x6e\x76\x6fi\x63\x65\x5fage"]=${${"\x47L\x4fB\x41\x4cS"}["\x6alv\x76j\x75st\x67\x77\x62"]};$_SESSION["la\x62\x69\x6ev\x6fi\x63\x65_gende\x72"]=${$trwxbocogyy};$udcnilqxu="\x6c\x61b\x69n\x76oi\x63\x65_to\x74a\x6c\x64\x69\x73c";${"\x47LOB\x41LS"}["m\x6c\x6ew\x6c\x75\x70j"]="\x6cab\x69n\x76\x6fic\x65\x5ft\x6f\x74a\x6cp\x63co\x6di\x73\x73io\x6e";${"\x47\x4cOBA\x4c\x53"}["\x69\x7al\x63\x65\x75bn\x6ejg"]="\x6cab\x69n\x76\x6f\x69c\x65\x5f\x64o\x63\x74\x6f\x72";$_SESSION["\x6c\x61\x62\x69nv\x6fic\x65_\x61\x64\x64\x72\x65\x73s"]=${$qwkzmn};$_SESSION["\x6cabin\x76o\x69\x63e\x5f\x6d\x6fb\x69l\x65"]=${${"\x47\x4c\x4fB\x41\x4c\x53"}["u\x79\x79b\x79ws\x76"]};$_SESSION["\x6c\x61\x62i\x6e\x76\x6fi\x63e_doc\x74\x6fr"]=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x7a\x6cce\x75\x62\x6e\x6e\x6a\x67"]};${"\x47\x4c\x4f\x42AL\x53"}["\x6dy\x78\x64\x67\x6c\x65\x64"]="\x6c\x61\x62\x69\x6ev\x6fice\x5fs\x75\x62\x74\x6ft\x61\x6c\x61f\x74\x65rdi\x73\x63";$_SESSION["l\x61b\x69nvoice_p\x63"]=${$puqvnjgg};$_SESSION["\x6ca\x62\x69\x6evo\x69ce_mpo"]=${${"\x47\x4cO\x42\x41\x4cS"}["\x77\x67f\x75\x6ar\x6f\x6a"]};$_SESSION["\x6cabi\x6ev\x6fi\x63e\x5fs\x75bto\x74al"]=${${"GL\x4f\x42\x41L\x53"}["c\x64\x6f\x63\x70d\x79\x73"]};$_SESSION["\x6cab\x69\x6ev\x6fic\x65_\x74\x6f\x74al\x64\x69scp"]=${${"G\x4c\x4fB\x41\x4cS"}["\x6esxj\x68gwh\x63\x69"]};$_SESSION["l\x61\x62i\x6e\x76\x6fice_\x74ot\x61\x6cdi\x73\x63"]=${$udcnilqxu};$_SESSION["la\x62\x69\x6e\x76oic\x65_\x74o\x74al\x70cc\x6fmis\x73io\x6e"]=${${"G\x4cO\x42\x41\x4c\x53"}["\x6d\x6cnw\x6cup\x6a"]};$_SESSION["labi\x6e\x76o\x69c\x65_s\x75bto\x74a\x6c\x61\x66terdi\x73\x63"]=${${"G\x4c\x4f\x42\x41LS"}["\x6d\x79\x78\x64\x67le\x64"]};$_SESSION["labi\x6ev\x6fice\x5f\x72ec\x65i\x76\x65a\x6do\x75\x6e\x74"]=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x67yj\x7a\x75b\x79\x68\x62\x65"]};${"\x47\x4c\x4f\x42AL\x53"}["qna\x6bx\x6fx\x6d"]="l\x61\x62\x69\x6ev\x6f\x69\x63\x65_due";$_SESSION["\x6c\x61\x62\x69nvo\x69\x63e\x5fd\x65s\x63\x72i\x70t\x69\x6f\x6e"]=${${"G\x4cO\x42\x41L\x53"}["\x68w\x6co\x70\x77\x62\x68\x65"]};$_SESSION["\x6c\x61\x62\x69\x6ev\x6fi\x63e_d\x75\x65\x73\x68o\x6c\x64\x65r"]=${${"GL\x4f\x42\x41L\x53"}["e\x75d\x71\x76\x73v\x66n\x67\x64"]};$_SESSION["\x6c\x61\x62\x69n\x76o\x69\x63\x65_\x64\x75\x65"]=${${"\x47\x4cO\x42A\x4c\x53"}["\x71\x6e\x61kxo\x78m"]};$_SESSION["l\x61b\x69\x6e\x76oic\x65\x5fdate"]=${${"\x47LO\x42\x41\x4cS"}["qp\x6f\x6em\x68\x6b\x75\x67\x72"]};header("\x6coca\x74i\x6f\x6e:i\x6e\x64ex.p\x68p?p=\x6ca\x62\x69n\x76oicee\x64\x69t&m\x65\x73s\x61\x67e\x3d\x65r\x72\x6fr-u\x70da\x74e");}}}}else{header("\x6c\x6fc\x61tion:i\x6ed\x65x\x2e\x70h\x70?p=l\x61binvo\x69\x63\x65\x26m\x65\x73s\x61\x67e=\x66i\x65\x6cd-m\x69\x73s\x69n\x67");}
?>

Function Calls

None

Variables

None

Stats

MD5 7873f16df54b2650383f92dfb137ac40
Eval Count 0
Decode Time 150 ms