- This allows to create attendance to the backend from the portal view, so the user
- that don't have the access to the backend they can easily create attendance from
- portal.
-
-
-
-
-
-
-
-
-
-
- Features
-
-
-
-
-
-
- Easy to see the attendance from portal.
-
-
-
-
- Easy to filter the attendance from portal.
-
-
-
-
- Apply filters on record to see the records according to filters all and day wise of attendance.
-
-
-
-
- You can easily search the record from the list of records using searchbar.
-
-
-
-
- You can easily search the record from the list of records using searchbar.
-
-
-
-
-
-
-
-
-
-
-
- Screenshots
-
-
-
-
-
-
- As seen in the image below,when the user enter to the portal the user
- can see the check in button.
-
-
-
-
-
-
- When we clicked the check in button it will redirect to the another
- page to create the attendance.
-
-
-
-
-
-
- When we click the check in button inside the template it will create
- attendance to the backend , and we can see a welcome message and check
- in time also the check in button turns to check out button.
-
-
-
-
-
- Then the user can check the created attendance, from My Account ->
- Attendance . Here we can see the created attendance and count of the
- attendance.
-
-
-
-
-
-
- When open the created attendance here we can see the employee name
- ,check in time, check out time and worked hours.
-
-
-
-
-
- Click the check out button to check out the attendance.
-
-
-
-
-
-
- When clicking the check out button it will redirect to the check out
- template, and they will ask to want to check out.
-
-
-
-
-
-
- After checked out the user can see the leaving note and checked out
- time,also the check out button changed in to check in button.
-
-
-
-
-
-
- The check out time and the work hour updated to the created attendance.
-
-
-
-
-
- In portal attendance we can filter out, and we can search for the
- attendance.
-
-
-
-
-
- We can filter by All,Today,Last Week,Last Month,Last Year.
-
-
-
-
-
-
- We can search by Work Hour, Check In and Check Out by the day or the time.
-
-
-
-
-
- The admin can view the created attendance in the backend in Attendance
- module.
-
\ No newline at end of file
diff --git a/web_portal_attendance/static/src/js/portal_message.js b/web_portal_attendance/static/src/js/portal_message.js
deleted file mode 100644
index 9ba502214..000000000
--- a/web_portal_attendance/static/src/js/portal_message.js
+++ /dev/null
@@ -1,46 +0,0 @@
-odoo.define('web_portal_attendance.leaving_message', function (require) {
- "use strict";
- var PublicWidget = require('web.public.widget');
- var currentTime = new Date().getHours();
-
- var Slider = PublicWidget.Widget.extend({
- selector: '.flex-grow-1',
- start: function () {
- var self = this;
- self.leaving_message();
- self.welcome_message();
- },
-//Function for adding leaving message in the tag
- leaving_message: function () {
- var leavingNoteElement = this.$el.find("#leaving_message");
- if (leavingNoteElement.length) { // Check if the element exists
- if (currentTime < 12) {
- leavingNoteElement.text("Have a good day!"); // Set the text
- } else if (currentTime < 18) {
- leavingNoteElement.text("Have a great lunch!"); // Set the text
- } else if (currentTime < 24) {
- leavingNoteElement.text("Have a good tea time!"); // Set the text
- } else {
- leavingNoteElement.text("Have a great sleep!"); // Set the text
- }
- }
- },
-//Function for adding welcome message in the tag
- welcome_message: function () {
- var welcomeNoteElement = this.$el.find(".welcome_note");
- if (welcomeNoteElement.length) { // Check if the element exists
- if (currentTime < 12) {
- welcomeNoteElement.text("Good Morning!"); // Set the text
- } else if (currentTime < 18) {
- welcomeNoteElement.text("Good Afternoon!"); // Set the text
- } else if (currentTime < 24) {
- welcomeNoteElement.text("Good Evening!"); // Set the text
- } else {
- welcomeNoteElement.text("Good Night!"); // Set the text
- }
- }
- },
- });
- PublicWidget.registry.banner = Slider;
- return Slider;
-});
diff --git a/web_portal_attendance/views/hr_attendance_templates.xml b/web_portal_attendance/views/hr_attendance_templates.xml
deleted file mode 100644
index 10fc9bc14..000000000
--- a/web_portal_attendance/views/hr_attendance_templates.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-