{"id":83576,"date":"2026-05-10T07:45:06","date_gmt":"2026-05-10T07:45:06","guid":{"rendered":"https:\/\/www.ojoor.net\/en\/?post_type=docs&#038;p=83576"},"modified":"2026-05-10T07:45:06","modified_gmt":"2026-05-10T07:45:06","password":"","slug":"sandwich-rule","status":"publish","type":"docs","link":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/","title":{"rendered":"Sandwich Rule"},"content":{"rendered":"\n<p><strong>Table of Contents<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Sandwich Rule in Ojoor HRMS\n<ul class=\"wp-block-list\">\n<li>Full Sandwich Rule\n<ul class=\"wp-block-list\">\n<li>Example of Full Sandwich Rule in Ojoor HRMS<\/li>\n\n\n\n<li>How to Configure Full Sandwich Rule in Ojoor HRMS<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Sandwich Rule in Ojoor HRMS<\/strong>\u00a0<\/p>\n\n\n\n<p>The\u00a0<strong>Sandwich Rule<\/strong>\u00a0in Ojoor HRMS is used to determine whether weekends or public holidays will be paid or unpaid based on the company\u2019s policy. It provides flexibility to organisations in aligning leave management with their internal policies.<\/p>\n\n\n\n<p><strong>Full Sandwich Rule<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Definition<\/strong>: If an employee takes leave on both sides of a weekend or public holiday, the weekend or holiday is also treated as leave, and the total number of absent days is increased.<\/li>\n\n\n\n<li><strong>Impact<\/strong>: This rule ensures that weekends falling between two leave days are\u00a0<strong>counted as absent<\/strong>\u00a0and deducted from the employee\u2019s salary.<\/li>\n<\/ul>\n\n\n\n<p>Example of Full Sandwich Rule in Ojoor HRMS<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Scenario<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Employee absent on\u00a0<strong>Thursday<\/strong> and\u00a0<strong>Sunday<\/strong>.<\/li>\n\n\n\n<li>The weekend (<strong>Friday <\/strong>and\u00a0<strong>Saturday<\/strong>) falls between these two leave days.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Absent Calculation<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Total absent days deducted:\u00a0<strong>4 days<\/strong>\u00a0(Thursday, Friday, Saturday, and Sunday).<\/li>\n\n\n\n<li>This results in the deduction of 4 days\u2019 salary rather than just 2 days for Thursday and Sunday.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>How to Configure Full Sandwich Rule in Ojoor HRMS<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Navigate to Company Profile<\/strong>\n<ul class=\"wp-block-list\">\n<li>Go to\u00a0<strong>Setup\u00a0<\/strong>=&gt;\u00a0<strong>Company Profile<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"865\" height=\"502\" src=\"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image.png\" alt=\"\" class=\"wp-image-83577\" srcset=\"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image.png 865w, https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image-300x174.png 300w, https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image-768x446.png 768w, https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image-360x209.png 360w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enable Sandwich Rule<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Click\u00a0<strong>Other.<\/strong><\/li>\n\n\n\n<li>Select\u00a0<strong>Full Sandwich Rule<\/strong>\u00a0under the sandwich rule settings.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Save the Profile.<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"865\" height=\"502\" src=\"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image-1.png\" alt=\"\" class=\"wp-image-83578\" srcset=\"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image-1.png 865w, https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image-1-300x174.png 300w, https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image-1-768x446.png 768w, https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image-1-360x209.png 360w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Table of Contents Sandwich Rule in Ojoor HRMS\u00a0 The\u00a0Sandwich Rule\u00a0in Ojoor HRMS is used to determine whether weekends or public holidays will be paid or unpaid based on the company\u2019s policy. It provides flexibility to organisations in aligning leave management with their internal policies. Full Sandwich Rule Example of Full Sandwich Rule in Ojoor HRMS&#8230;<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[273],"doc_tag":[],"knowledge_base":[],"class_list":["post-83576","docs","type-docs","status-publish","hentry","doc_category-payroll","no-post-thumbnail"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.1 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Sandwich Rule - Ojoor<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sandwich Rule\" \/>\n<meta property=\"og:description\" content=\"Table of Contents Sandwich Rule in Ojoor HRMS\u00a0 The\u00a0Sandwich Rule\u00a0in Ojoor HRMS is used to determine whether weekends or public holidays will be paid or unpaid based on the company\u2019s policy. It provides flexibility to organisations in aligning leave management with their internal policies. Full Sandwich Rule Example of Full Sandwich Rule in Ojoor HRMS...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/\" \/>\n<meta property=\"og:site_name\" content=\"Ojoor\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"865\" \/>\n\t<meta property=\"og:image:height\" content=\"502\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/sandwich-rule\\\/\",\"url\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/sandwich-rule\\\/\",\"name\":\"Sandwich Rule - Ojoor\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/sandwich-rule\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/sandwich-rule\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2026\\\/05\\\/image.png\",\"datePublished\":\"2026-05-10T07:45:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/sandwich-rule\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/sandwich-rule\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/sandwich-rule\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2026\\\/05\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2026\\\/05\\\/image.png\",\"width\":865,\"height\":502},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/sandwich-rule\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Sandwich Rule\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/\",\"name\":\"Ojoor\",\"description\":\"Ojoor HR Payroll Software System in Riyadh Saudi Arabia\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/#organization\",\"name\":\"Ojoor\",\"url\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2025\\\/09\\\/Transparent-Black-scaled-1.png\",\"contentUrl\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/16\\\/2025\\\/09\\\/Transparent-Black-scaled-1.png\",\"width\":2560,\"height\":884,\"caption\":\"Ojoor\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ojoor.net\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Sandwich Rule - Ojoor","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/","og_locale":"en_US","og_type":"article","og_title":"Sandwich Rule","og_description":"Table of Contents Sandwich Rule in Ojoor HRMS\u00a0 The\u00a0Sandwich Rule\u00a0in Ojoor HRMS is used to determine whether weekends or public holidays will be paid or unpaid based on the company\u2019s policy. It provides flexibility to organisations in aligning leave management with their internal policies. Full Sandwich Rule Example of Full Sandwich Rule in Ojoor HRMS...","og_url":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/","og_site_name":"Ojoor","og_image":[{"width":865,"height":502,"url":"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/","url":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/","name":"Sandwich Rule - Ojoor","isPartOf":{"@id":"https:\/\/www.ojoor.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/#primaryimage"},"image":{"@id":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image.png","datePublished":"2026-05-10T07:45:06+00:00","breadcrumb":{"@id":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/#primaryimage","url":"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image.png","contentUrl":"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2026\/05\/image.png","width":865,"height":502},{"@type":"BreadcrumbList","@id":"https:\/\/www.ojoor.net\/en\/docs\/sandwich-rule\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ojoor.net\/en\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www.ojoor.net\/en\/docs\/"},{"@type":"ListItem","position":3,"name":"Sandwich Rule"}]},{"@type":"WebSite","@id":"https:\/\/www.ojoor.net\/en\/#website","url":"https:\/\/www.ojoor.net\/en\/","name":"Ojoor","description":"Ojoor HR Payroll Software System in Riyadh Saudi Arabia","publisher":{"@id":"https:\/\/www.ojoor.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ojoor.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ojoor.net\/en\/#organization","name":"Ojoor","url":"https:\/\/www.ojoor.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ojoor.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2025\/09\/Transparent-Black-scaled-1.png","contentUrl":"https:\/\/www.ojoor.net\/en\/wp-content\/uploads\/sites\/16\/2025\/09\/Transparent-Black-scaled-1.png","width":2560,"height":884,"caption":"Ojoor"},"image":{"@id":"https:\/\/www.ojoor.net\/en\/#\/schema\/logo\/image\/"}}]}},"year_month":"2026-05","word_count":220,"total_views":"10","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"erpeditorksa","author_nicename":"erpeditorksa","author_url":"https:\/\/www.ojoor.net\/en\/author\/erpeditorksa\/"},"doc_category_info":[{"term_name":"Payroll","term_url":"https:\/\/www.ojoor.net\/en\/docs\/non-knowledgebase\/payroll\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/docs\/83576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/comments?post=83576"}],"version-history":[{"count":1,"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/docs\/83576\/revisions"}],"predecessor-version":[{"id":83579,"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/docs\/83576\/revisions\/83579"}],"wp:attachment":[{"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/media?parent=83576"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/doc_category?post=83576"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/doc_tag?post=83576"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/www.ojoor.net\/en\/wp-json\/wp\/v2\/knowledge_base?post=83576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}