Friday, September 17, 2021

Simple Payroll Program in AngularJS

Machine  Problem

Write a program that will ask the employee's name, number of day's worked, and  rate per day and then the program will display the employee's name, number of day's work, rate per day, and then compute the gross salary of the employee.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.





Program Listing

index.htm


<!-- index.htm

  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

  Date     : July 24, 2021  Saturday 9:28 PM

  Place    : Bacolod City, Negros Occidental

  Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com

  Email    : jakerpomperada@gmail.com

 -->

<html>

  <head>

    <title>Simple Payroll Program in AngularJS</title>

  <script type="text/javascript" src="angular.min.js"></script>

     

 </head>

 <style>

body {

font-family: arial;

font-size: 25px;

font-weight: bold;

}

</style>

 <body ng-app="">

  <h3>Simple Payroll Program in AngularJS</h3>

 <div>

  <table border="0">

  <tr>

  <td>

  Enter Employee's Name </td>

       <td>

        &nbsp;&nbsp;&nbsp;&nbsp;

         <input type="text"  size="40" ng-model="emp_name" required/>

       </td>

     </tr>

       <tr>

        <td>

      Enter Number of Day's Worked  </td>

       <td>

        &nbsp;&nbsp;&nbsp;&nbsp;

         <input type="number"  size="10" ng-model="days_worked" required/>

       </td>

     </tr>

      <tr>

        <td>

      Enter Daily Rate  </td>

       <td>

        &nbsp;&nbsp;&nbsp;&nbsp;

         <input type="number"  size="10" ng-model="daily_rate" required/>

       </td>

     </tr>

       <tr>

        <td>&nbsp;&nbsp;&nbsp;</td>

      </tr>

       </table>

      <br>

       Employee's Name         : {{emp_name | uppercase}} <br>

       Number of Day's Worked  : {{days_worked}}<br>

       Rate Per Day            : PHP {{daily_rate | number:2}}

       <br><br>

       Gross Salary            : PHP  {{ (days_worked * daily_rate) | number:2}}

       <br>

    </div><br>

       </div>

    </body>

</html>

No comments:

Post a Comment