TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mahendra reddy
NA
27
1.6k
If the amount entered in the 1st Installment, 2nd Installme
Jul 6 2019 12:59 AM
LOGIC:
sales: If the amount entered in the 1st Installment, 2nd Installment or 3rd Installment is equal to Total Invoiced Amount field, or anyone of these fields is equal to Total Invoiced Amount field, then Payment status to be CLOSE. Default Value of Payment Status is OPEN.
purchases: If the Amount Paid is equal to Total Invoice Amount, Payment Status to be updated as CLOSE. Default Value of Payment Status is OPEN.
<body>
<form id=
"form1"
runat=
"server"
>
<div>
<fieldset style=
"background-color:#EEE9E9"
>
<legend>
<asp:Button ID=
"btnsales"
runat=
"server"
Text=
"SALES"
Height=
"28px"
Width=
"100px"
OnClick=
"btnsales_Click"
/> <asp:Button ID=
"btnpurchase"
runat=
"server"
Text=
"PURCHASE"
Height=
"28px"
Width=
"100px"
OnClick=
"btnpurchase_Click1"
/>
</legend>
<table id=
"tblsales"
runat=
"server"
style=
"width: 100%; "
>
<tr>
<td
class
=
"style5"
>
Invoice No:<br />
<asp:TextBox ID=
"txtinvoiceno"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
Invoice Date:<br />
<asp:TextBox ID=
"txtdate"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
Name of the Client:<br />
<asp:TextBox ID=
"txtclientname"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td>
Client GST No:<br />
<asp:TextBox ID=
"txtgstno"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td>
Name Of The Service:<br />
<asp:DropDownList ID=
"DropDownList1"
runat=
"server"
Height=
"28px"
Width=
"260px"
>
<asp:ListItem>TALENT ACQUISITION</asp:ListItem>
<asp:ListItem>BULK SMS SERVICES</asp:ListItem>
<asp:ListItem>SOFTWARE DEVELOPMENT</asp:ListItem>
<asp:ListItem>DIGITAL MARKETING</asp:ListItem>
<asp:ListItem>CAMPAIGNING</asp:ListItem>
</asp:DropDownList>
<br />
<br />
</td>
<td>
Service Code:<br />
<asp:TextBox ID=
"txtservicecode"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td>
Taxable Amount:<br />
<asp:TextBox ID=
"txttaxableamount"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td>
SGST Amount:<br />
<asp:TextBox ID=
"txtsgestamount"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td>
CGST Amount<br />
<asp:TextBox ID=
"txtcgstamount"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td>
IGST Amount:<br />
<asp:TextBox ID=
"txtigstamount"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td>
Total Invoiced Amount(Rounded):<br />
<asp:TextBox ID=
"txttotalinvoiceamount"
runat=
"server"
Height=
"28px"
CssClass=
"calculate"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"myClass"
>
1st Installment:<br />
<asp:TextBox ID=
"txt1stinstal"
runat=
"server"
CssClass=
"calculate"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td>
2nd Installment:<br />
<asp:TextBox ID=
"txt2ndintsall"
runat=
"server"
CssClass=
"calculate"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br /
</td>
<td >
3rd Installment:<br />
<asp:TextBox ID=
"txt3rdinstall"
runat=
"server"
CssClass=
"calculate"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td>
Remarks:<br />
<asp:TextBox ID=
"txtremarks"
TextMode=
"MultiLine"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td>
Payment Status:<br />
<asp:TextBox ID=
"txtstatus"
runat=
"server"
CssClass=
"calculate"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<%--<asp:DropDownList ID=
"drppayemtstatus"
runat=
"server"
Height=
"28px"
Width=
"260px"
>
<asp:ListItem>Open</asp:ListItem>
<asp:ListItem>Closed</asp:ListItem>
</asp:DropDownList>--%>
<br />
<br />
</td>
</tr>
</table>
<table id=
"tblpurchase"
runat=
"server"
style=
"width: 100% "
>
<tr>
<td
class
=
"style5"
>
Invoice No:<br />
<asp:TextBox ID=
"TextBox1"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
Invoice Date:<br />
<asp:TextBox ID=
"TextBox2"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
Name of the Client:<br />
<asp:TextBox ID=
"TextBox3"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td
class
=
"style5"
>
Client GST No:<br />
<asp:TextBox ID=
"TextBox4"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
Name Of The Service:<br />
<asp:DropDownList ID=
"DropDownList2"
runat=
"server"
Height=
"28px"
Width=
"260px"
>
<asp:ListItem>TALENT ACQUISITION</asp:ListItem>
<asp:ListItem>BULK SMS SERVICES</asp:ListItem>
<asp:ListItem>SOFTWARE DEVELOPMENT</asp:ListItem>
<asp:ListItem>DIGITAL MARKETING</asp:ListItem>
<asp:ListItem>CAMPAIGNING</asp:ListItem>
</asp:DropDownList>
<br />
<br />
</td>
<td
class
=
"style5"
>
Service Code:<br />
<asp:TextBox ID=
"TextBox5"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td
class
=
"style5"
>
Taxable Amount:<br />
<asp:TextBox ID=
"TextBox6"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
SGST Amount:<br />
<asp:TextBox ID=
"TextBox7"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
CGST Amount:<br />
<asp:TextBox ID=
"TextBox8"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td
class
=
"style5"
>
IGST Amount:<br />
<asp:TextBox ID=
"TextBox9"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
Total Invoiced Amount(Rounded):<br />
<asp:TextBox ID=
"TextBox10"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
Amount Paid:<br />
<asp:TextBox ID=
"TextBox11"
TextMode=
"Number"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
</tr>
<tr>
<td
class
=
"style5"
>
Payment Date:<br />
<asp:TextBox ID=
"TextBox12"
TextMode=
"Number"
runat=
"server"
Height=
"28px"
Width=
"260px"
></asp:TextBox>
<br />
<br />
</td>
<td
class
=
"style5"
>
Payment Status:<br />
<asp:DropDownList ID=
"DropDownList3"
runat=
"server"
Height=
"28px"
Width=
"260px"
>
<asp:ListItem>Open</asp:ListItem>
<asp:ListItem>Closed</asp:ListItem>
</asp:DropDownList>
<br />
<br />
</td>
</tr>
</table>
</fieldset>
</div>
</form>
</body>
Reply
Answers (
1
)
Regarding AWS Development
Integrating Apple Pay JS Into A Website