fixed id validiation on preEdit.aspx.cs and made medi new more centered

This commit is contained in:
EggMan20339 2024-04-03 18:54:23 -04:00
parent 38c01a7d70
commit be2d0534f4
15 changed files with 10 additions and 10 deletions

View File

@ -155,7 +155,7 @@
<virtualDirectoryDefaults allowSubDirConfig="true" /> <virtualDirectoryDefaults allowSubDirConfig="true" />
<site name="FWA_MAIN" id="1"> <site name="FWA_MAIN" id="1">
<application path="/" applicationPool="Clr4IntegratedAppPool"> <application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\cmoore\RiderProjects\FWA_MAIN\FWA_MAIN" /> <virtualDirectory path="/" physicalPath="C:\Users\eggman\Nextcloud\TSCT\2nd Year\SEM 4\RiderProjects\FWA_MAIN\FWA_MAIN" />
</application> </application>
<bindings> <bindings>
<binding protocol="http" bindingInformation="*:5000:localhost" /> <binding protocol="http" bindingInformation="*:5000:localhost" />

Binary file not shown.

View File

@ -14,7 +14,7 @@
</defaultDocument> </defaultDocument>
</system.webServer> </system.webServer>
<connectionStrings> <connectionStrings>
<add name="ConnString" connectionString="Server=sql.eggtech.net;Database=FinalProjectOfficialPharmacy;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient"/> <add name="ConnString" connectionString="Server=10.1.1.250;Database=FinalProjectOfficialPharmacy;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient"/>
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<add key="webpages:Version" value="3.0.0.0"/> <add key="webpages:Version" value="3.0.0.0"/>

Binary file not shown.

View File

@ -17,7 +17,7 @@
<h1 style="text-align: center; font-size: 44px">New Medication</h1> <h1 style="text-align: center; font-size: 44px">New Medication</h1>
<div class="patDiv"> <div class="patDiv">
<div class="patDiv"> <div class="patDiv">
<div class="patDiv" style="padding-left: 150px; padding-right: 5px;width: 100px"> <div class="patDiv" style="padding-left: 400px; padding-right: 5px;width: 100px">
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Medication ID: </label></div> <div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Medication ID: </label></div>
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Medication Name: </label></div> <div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Medication Name: </label></div>
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Intake Method: </label></div> <div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Intake Method: </label></div>

View File

@ -1 +1 @@
548208a3bcb0eba33fd1a778a97babd693b86e02fd9b8f09bf8b4cf3b1fd0e4a 70b4448723339e99ed60f3c81dc6a5d1da61b1ddf61a97f8541739006170aed6

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@
</defaultDocument> </defaultDocument>
</system.webServer> </system.webServer>
<connectionStrings> <connectionStrings>
<add name="ConnString" connectionString="Server=sql.eggtech.net;Database=FinalProjectOfficialPharmacy;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient" /> <add name="ConnString" connectionString="Server=10.1.1.250;Database=FinalProjectOfficialPharmacy;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<add key="webpages:Version" value="3.0.0.0" /> <add key="webpages:Version" value="3.0.0.0" />

View File

@ -14,7 +14,7 @@
</defaultDocument> </defaultDocument>
</system.webServer> </system.webServer>
<connectionStrings> <connectionStrings>
<add name="ConnString" connectionString="Server=sql.eggtech.net;Database=FinalProjectOfficialPharmacy;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient"/> <add name="ConnString" connectionString="Server=10.1.1.250;Database=FinalProjectOfficialPharmacy;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient"/>
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<add key="webpages:Version" value="3.0.0.0"/> <add key="webpages:Version" value="3.0.0.0"/>

View File

@ -14,7 +14,7 @@
</defaultDocument> </defaultDocument>
</system.webServer> </system.webServer>
<connectionStrings> <connectionStrings>
<add name="ConnString" connectionString="Server=sql.eggtech.net;Database=FinalProjectOfficialPharmacy;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient" /> <add name="ConnString" connectionString="Server=10.1.1.250;Database=FinalProjectOfficialPharmacy;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<add key="webpages:Version" value="3.0.0.0" /> <add key="webpages:Version" value="3.0.0.0" />

View File

@ -43,9 +43,9 @@ namespace FWA_MAIN
string rxnum = Val.varchar(txtRxNum, 11); string rxnum = Val.varchar(txtRxNum, 11);
int allow = Val.IntType(txtAllowed); int allow = Val.IntType(txtAllowed);
int used = Val.IntType(txtUsed); int used = Val.IntType(txtUsed);
string medid = Val.varchar(txtMedID, 7); string medid = Val.MedID(txtMedID);
string phyid = Val.varchar(txtPhysID, 8); string phyid = Val.PhyID(txtPhysID);
string patid = Val.varchar(txtPatID, 8); string patid = Val.PatID(txtPatID);
DateTime start = Val.Date(txtStart); DateTime start = Val.Date(txtStart);
DateTime end = Val.Date(txtEnd); DateTime end = Val.Date(txtEnd);