This commit is contained in:
2025-06-21 14:22:13 -04:00
parent 9eea35814d
commit e968338d2c
58 changed files with 1572 additions and 1296 deletions

View File

@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 75a0f8b1a70e3b76aa41fc917232251c
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8699d55173c35825b40f4853c506a225
tags: 645f666f9bcd5a90fca523b33c5a78b7

View File

@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 3d9d5b7104a9bc70ed897abbf69f4eb8
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8e5e46b70e6f4e179a144e9a5c52d579
tags: 645f666f9bcd5a90fca523b33c5a78b7

View File

@@ -4,4 +4,16 @@ Payroll Accounting
***************
Journal Entries
***************
***************
Payroll accounting is a critical component of the Canadian Payroll Administration system. It involves the systematic recording, analysis, and reporting of payroll transactions to ensure that all financial aspects of employee compensation are accurately reflected in the organization's financial statements.
Payroll accounting includes the management of employee wages, tax withholdings, benefit deductions, and other payroll-related expenses. The system is designed to automate these processes, ensuring accuracy and compliance with Canadian payroll regulations.
Journal Entries
-----------------
Journal entries are a key part of payroll accounting, as they document the financial impact of payroll transactions on the organization's accounts. Each payroll run generates a series of journal entries that reflect the distribution of wages, taxes, and deductions across various accounts.
These entries are essential for maintaining accurate financial records and ensuring that the organization's financial statements reflect the true cost of employee compensation. The Canadian Payroll Administration system automates the generation of these journal entries, reducing the risk of errors and ensuring compliance with accounting standards.
| DR Payroll Expenses $10,500.00
| CR Payroll Payable $10,500.00

View File

@@ -1,75 +1,9 @@
################
==================
REVIEW QUESTIONS
################
==================
This section contains review questions for the material covered in the course. These questions are designed to test your understanding and help reinforce the concepts learned.
************************
New Employee Information
************************
What does the employees signature on an offer letter provide to the employer?
When an employee signs an offer of employment, they are implicitly providing
consent for the employer to collect and use information that is reasonably required
for employment purposes. When the offer letter clearly states that the organization
will be collecting, using and disclosing employee information required by
government agencies, pension plan administrators and benefit carriers, the
employees signature would provide express consent.
What types of documents are typically included in a commencement package?
The documents included in the commencement package are typically a
combination of:  organization-specific forms, such as personal information forms  government forms, such as the federal and provincial/territorial Personal
Tax Credits Return TD1 and Source Deductions Return TP-1015.3-V in
Québec  benefits forms, such as insurance enrollment forms
Name three forms that are commonly included in a commencement package.
Common forms included in a commencement package are:
\i an authorization for hiring
\i direct deposit agreement
\i a union membership application (for unionized workplaces)
\i benefits enrollment, if applicable (for example, health and dental coverage, optional life insurance coverage, the organization's pension plan)
\i a confidentiality agreement
What document must an employer verify when hiring an individual with a 900-series
Social Insurance Number?
Employers hiring an individual with a 900-series Social Insurance Number must
ensure that the documentation has a valid date, that the work permit is valid and
that all terms and conditions of the permit are being followed.
What doespayroll use the information provided on the Personal Tax Credits Return TD1 and theSource Deductions Return - TP-1015.3-V for?
An employer needs the employees written authorization to deduct premiums from
an employees pay. The employees signature on the benefit enrollment forms
authorizes the deduction.
The Worksheet for the Personal Tax Credits Return TD1-WS is used to calculate
partial claim amounts for:
a. estimated annual income of $151,978 or more
b. age
c. Canada caregiver amount for eligible dependant or spouse or common-law partner
d. Canada caregiver amount for dependant(s) age 18 or older
e. *all of the above*
An employee, who lives in Québec and works at an employers permanent establishment
in Ontario, will have income tax deducted based on _________ income tax rates and file
their income tax return, subject to _________ income tax rates.
a. Ontario, Ontario
b. Québec, Ontario
c. Ontario, Québec
d. *Québec, Québec*
True or False. New employees must complete a federal Personal Tax
*************************
Review Questions Answers
*************************
This section provides the answers to the review questions presented in the course. Use these answers to check your understanding and clarify any concepts that may be unclear.
.. note::
If you have any questions or need further clarification on any of the answers, please refer to the course material or contact your instructor for assistance.
.. _review_questions_answers_section:

View File

@@ -1,12 +1,5 @@
/*
* basic.css
* ~~~~~~~~~
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
/* -- main layout ----------------------------------------------------------- */
@@ -115,15 +108,11 @@ img {
/* -- search page ----------------------------------------------------------- */
ul.search {
margin: 10px 0 0 20px;
padding: 0;
margin-top: 10px;
}
ul.search li {
padding: 5px 0 5px 20px;
background-image: url(file.png);
background-repeat: no-repeat;
background-position: 0 7px;
padding: 5px 0;
}
ul.search li a {
@@ -752,14 +741,6 @@ abbr, acronym {
cursor: help;
}
.translated {
background-color: rgba(207, 255, 207, 0.2)
}
.untranslated {
background-color: rgba(255, 207, 207, 0.2)
}
/* -- code displays --------------------------------------------------------- */
pre {

View File

@@ -1,12 +1,5 @@
/*
* classic.css_t
* ~~~~~~~~~~~~~
*
* Sphinx stylesheet -- classic theme.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@import url("basic.css");

View File

@@ -1,12 +1,5 @@
/*
* doctools.js
* ~~~~~~~~~~~
*
* Base JavaScript utilities for all Sphinx HTML documentation.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
"use strict";

View File

@@ -1,19 +1,12 @@
/*
* language_data.js
* ~~~~~~~~~~~~~~~~
*
* This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"];
/* Non-minified version is copied as a separate JS file, is available */
/* Non-minified version is copied as a separate JS file, if available */
/**
* Porter Stemmer

View File

@@ -6,26 +6,26 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .hll { background-color: #ffffcc }
.highlight { background: #eeffcc; }
.highlight .c { color: #408090; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .err { border: 1px solid #F00 } /* Error */
.highlight .k { color: #007020; font-weight: bold } /* Keyword */
.highlight .o { color: #666666 } /* Operator */
.highlight .o { color: #666 } /* Operator */
.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #007020 } /* Comment.Preproc */
.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
.highlight .cs { color: #408090; background-color: #FFF0F0 } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gr { color: #F00 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #333333 } /* Generic.Output */
.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
.highlight .go { color: #333 } /* Generic.Output */
.highlight .gp { color: #C65D09; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .gt { color: #04D } /* Generic.Traceback */
.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
@@ -33,43 +33,43 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #902000 } /* Keyword.Type */
.highlight .m { color: #208050 } /* Literal.Number */
.highlight .s { color: #4070a0 } /* Literal.String */
.highlight .na { color: #4070a0 } /* Name.Attribute */
.highlight .s { color: #4070A0 } /* Literal.String */
.highlight .na { color: #4070A0 } /* Name.Attribute */
.highlight .nb { color: #007020 } /* Name.Builtin */
.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
.highlight .no { color: #60add5 } /* Name.Constant */
.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
.highlight .nc { color: #0E84B5; font-weight: bold } /* Name.Class */
.highlight .no { color: #60ADD5 } /* Name.Constant */
.highlight .nd { color: #555; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #D55537; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #007020 } /* Name.Exception */
.highlight .nf { color: #06287e } /* Name.Function */
.highlight .nf { color: #06287E } /* Name.Function */
.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
.highlight .nn { color: #0E84B5; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #bb60d5 } /* Name.Variable */
.highlight .nv { color: #BB60D5 } /* Name.Variable */
.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .w { color: #BBB } /* Text.Whitespace */
.highlight .mb { color: #208050 } /* Literal.Number.Bin */
.highlight .mf { color: #208050 } /* Literal.Number.Float */
.highlight .mh { color: #208050 } /* Literal.Number.Hex */
.highlight .mi { color: #208050 } /* Literal.Number.Integer */
.highlight .mo { color: #208050 } /* Literal.Number.Oct */
.highlight .sa { color: #4070a0 } /* Literal.String.Affix */
.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
.highlight .sc { color: #4070a0 } /* Literal.String.Char */
.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */
.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #4070a0 } /* Literal.String.Double */
.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
.highlight .sx { color: #c65d09 } /* Literal.String.Other */
.highlight .sa { color: #4070A0 } /* Literal.String.Affix */
.highlight .sb { color: #4070A0 } /* Literal.String.Backtick */
.highlight .sc { color: #4070A0 } /* Literal.String.Char */
.highlight .dl { color: #4070A0 } /* Literal.String.Delimiter */
.highlight .sd { color: #4070A0; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #4070A0 } /* Literal.String.Double */
.highlight .se { color: #4070A0; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #4070A0 } /* Literal.String.Heredoc */
.highlight .si { color: #70A0D0; font-style: italic } /* Literal.String.Interpol */
.highlight .sx { color: #C65D09 } /* Literal.String.Other */
.highlight .sr { color: #235388 } /* Literal.String.Regex */
.highlight .s1 { color: #4070a0 } /* Literal.String.Single */
.highlight .s1 { color: #4070A0 } /* Literal.String.Single */
.highlight .ss { color: #517918 } /* Literal.String.Symbol */
.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #06287e } /* Name.Function.Magic */
.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */
.highlight .fm { color: #06287E } /* Name.Function.Magic */
.highlight .vc { color: #BB60D5 } /* Name.Variable.Class */
.highlight .vg { color: #BB60D5 } /* Name.Variable.Global */
.highlight .vi { color: #BB60D5 } /* Name.Variable.Instance */
.highlight .vm { color: #BB60D5 } /* Name.Variable.Magic */
.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */

View File

@@ -1,12 +1,5 @@
/*
* searchtools.js
* ~~~~~~~~~~~~~~~~
*
* Sphinx JavaScript utilities for the full-text search.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
"use strict";
@@ -20,7 +13,7 @@ if (typeof Scorer === "undefined") {
// and returns the new score.
/*
score: result => {
const [docname, title, anchor, descr, score, filename] = result
const [docname, title, anchor, descr, score, filename, kind] = result
return score
},
*/
@@ -47,6 +40,14 @@ if (typeof Scorer === "undefined") {
};
}
// Global search result kind enum, used by themes to style search results.
class SearchResultKind {
static get index() { return "index"; }
static get object() { return "object"; }
static get text() { return "text"; }
static get title() { return "title"; }
}
const _removeChildren = (element) => {
while (element && element.lastChild) element.removeChild(element.lastChild);
};
@@ -62,12 +63,15 @@ const _displayItem = (item, searchTerms, highlightTerms) => {
const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX;
const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX;
const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY;
const contentRoot = document.documentElement.dataset.content_root
?? DOCUMENTATION_OPTIONS.URL_ROOT;
const contentRoot = document.documentElement.dataset.content_root;
const [docName, title, anchor, descr, score, _filename] = item;
const [docName, title, anchor, descr, score, _filename, kind] = item;
let listItem = document.createElement("li");
// Add a class representing the item's type:
// can be used by a theme's CSS selector for styling
// See SearchResultKind for the class names.
listItem.classList.add(`kind-${kind}`);
let requestUrl;
let linkUrl;
if (docBuilder === "dirhtml") {
@@ -100,7 +104,7 @@ const _displayItem = (item, searchTerms, highlightTerms) => {
.then((data) => {
if (data)
listItem.appendChild(
Search.makeSearchSummary(data, searchTerms)
Search.makeSearchSummary(data, searchTerms, anchor)
);
// highlight search terms in the summary
if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js
@@ -116,9 +120,11 @@ const _finishSearch = (resultCount) => {
"Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories."
);
else
Search.status.innerText = _(
`Search finished, found ${resultCount} page(s) matching the search query.`
);
Search.status.innerText = Documentation.ngettext(
"Search finished, found one page matching the search query.",
"Search finished, found ${resultCount} pages matching the search query.",
resultCount,
).replace('${resultCount}', resultCount);
};
const _displayNextItem = (
results,
@@ -138,6 +144,22 @@ const _displayNextItem = (
// search finished, update title and status message
else _finishSearch(resultCount);
};
// Helper function used by query() to order search results.
// Each input is an array of [docname, title, anchor, descr, score, filename, kind].
// Order the results by score (in opposite order of appearance, since the
// `_displayNextItem` function uses pop() to retrieve items) and then alphabetically.
const _orderResultsByScoreThenName = (a, b) => {
const leftScore = a[4];
const rightScore = b[4];
if (leftScore === rightScore) {
// same score: sort alphabetically
const leftTitle = a[1].toLowerCase();
const rightTitle = b[1].toLowerCase();
if (leftTitle === rightTitle) return 0;
return leftTitle > rightTitle ? -1 : 1; // inverted is intentional
}
return leftScore > rightScore ? 1 : -1;
};
/**
* Default splitQuery function. Can be overridden in ``sphinx.search`` with a
@@ -161,13 +183,26 @@ const Search = {
_queued_query: null,
_pulse_status: -1,
htmlToText: (htmlString) => {
htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
htmlElement.querySelectorAll(".headerlink").forEach((el) => { el.remove() });
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
const anchorContent = htmlElement.querySelector(`[role="main"] ${anchor}`);
if (anchorContent) return anchorContent.textContent;
console.warn(
`Anchored content block not found. Sphinx search tries to obtain it via DOM query '[role=main] ${anchor}'. Check your theme or template.`
);
}
// if anchor not specified or not found, fall back to main content
const docContent = htmlElement.querySelector('[role="main"]');
if (docContent !== undefined) return docContent.textContent;
if (docContent) return docContent.textContent;
console.warn(
"Content block not found. Sphinx search tries to obtain it via '[role=main]'. Could you check your theme or template."
"Content block not found. Sphinx search tries to obtain it via DOM query '[role=main]'. Check your theme or template."
);
return "";
},
@@ -220,6 +255,7 @@ const Search = {
searchSummary.classList.add("search-summary");
searchSummary.innerText = "";
const searchList = document.createElement("ul");
searchList.setAttribute("role", "list");
searchList.classList.add("search");
const out = document.getElementById("search-results");
@@ -240,16 +276,7 @@ const Search = {
else Search.deferQuery(query);
},
/**
* execute search (requires search index to be loaded)
*/
query: (query) => {
const filenames = Search._index.filenames;
const docNames = Search._index.docnames;
const titles = Search._index.titles;
const allTitles = Search._index.alltitles;
const indexEntries = Search._index.indexentries;
_parseQuery: (query) => {
// stem the search terms and add them to the correct list
const stemmer = new Stemmer();
const searchTerms = new Set();
@@ -285,22 +312,40 @@ const Search = {
// console.info("required: ", [...searchTerms]);
// console.info("excluded: ", [...excludedTerms]);
// array of [docname, title, anchor, descr, score, filename]
let results = [];
return [query, searchTerms, excludedTerms, highlightTerms, objectTerms];
},
/**
* execute search (requires search index to be loaded)
*/
_performSearch: (query, searchTerms, excludedTerms, highlightTerms, objectTerms) => {
const filenames = Search._index.filenames;
const docNames = Search._index.docnames;
const titles = Search._index.titles;
const allTitles = Search._index.alltitles;
const indexEntries = Search._index.indexentries;
// Collect multiple result groups to be sorted separately and then ordered.
// Each is an array of [docname, title, anchor, descr, score, filename, kind].
const normalResults = [];
const nonMainIndexResults = [];
_removeChildren(document.getElementById("search-progress"));
const queryLower = query.toLowerCase();
const queryLower = query.toLowerCase().trim();
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().includes(queryLower) && (queryLower.length >= title.length/2)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
results.push([
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
SearchResultKind.title,
]);
}
}
@@ -309,46 +354,48 @@ const Search = {
// search for explicit entries in index directives
for (const [entry, foundEntries] of Object.entries(indexEntries)) {
if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) {
for (const [file, id] of foundEntries) {
let score = Math.round(100 * queryLower.length / entry.length)
results.push([
for (const [file, id, isMain] of foundEntries) {
const score = Math.round(100 * queryLower.length / entry.length);
const result = [
docNames[file],
titles[file],
id ? "#" + id : "",
null,
score,
filenames[file],
]);
SearchResultKind.index,
];
if (isMain) {
normalResults.push(result);
} else {
nonMainIndexResults.push(result);
}
}
}
}
// lookup as object
objectTerms.forEach((term) =>
results.push(...Search.performObjectSearch(term, objectTerms))
normalResults.push(...Search.performObjectSearch(term, objectTerms))
);
// lookup as search terms in fulltext
results.push(...Search.performTermsSearch(searchTerms, excludedTerms));
normalResults.push(...Search.performTermsSearch(searchTerms, excludedTerms));
// let the scorer override scores with a custom scoring function
if (Scorer.score) results.forEach((item) => (item[4] = Scorer.score(item)));
if (Scorer.score) {
normalResults.forEach((item) => (item[4] = Scorer.score(item)));
nonMainIndexResults.forEach((item) => (item[4] = Scorer.score(item)));
}
// now sort the results by score (in opposite order of appearance, since the
// display function below uses pop() to retrieve items) and then
// alphabetically
results.sort((a, b) => {
const leftScore = a[4];
const rightScore = b[4];
if (leftScore === rightScore) {
// same score: sort alphabetically
const leftTitle = a[1].toLowerCase();
const rightTitle = b[1].toLowerCase();
if (leftTitle === rightTitle) return 0;
return leftTitle > rightTitle ? -1 : 1; // inverted is intentional
}
return leftScore > rightScore ? 1 : -1;
});
// Sort each group of results by score and then alphabetically by name.
normalResults.sort(_orderResultsByScoreThenName);
nonMainIndexResults.sort(_orderResultsByScoreThenName);
// Combine the result groups in (reverse) order.
// Non-main index entries are typically arbitrary cross-references,
// so display them after other results.
let results = [...nonMainIndexResults, ...normalResults];
// remove duplicate search results
// note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept
@@ -362,7 +409,12 @@ const Search = {
return acc;
}, []);
results = results.reverse();
return results.reverse();
},
query: (query) => {
const [searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms] = Search._parseQuery(query);
const results = Search._performSearch(searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms);
// for debugging
//Search.lastresults = results.slice(); // a copy
@@ -433,16 +485,14 @@ const Search = {
descr,
score,
filenames[match[0]],
SearchResultKind.object,
]);
};
Object.keys(objects).forEach((prefix) => {
if (!(objects[prefix] instanceof Array)) {
objects[prefix] = Object.entries(objects[prefix]).map(([name, match]) => [...match, name]);
}
Object.keys(objects).forEach((prefix) =>
objects[prefix].forEach((array) =>
objectSearchCallback(prefix, array)
);
});
)
);
return results;
},
@@ -463,21 +513,27 @@ const Search = {
// perform the search on the required terms
searchTerms.forEach((word) => {
const files = [];
// find documents, if any, containing the query word in their text/title term indices
// use Object.hasOwnProperty to avoid mismatching against prototype properties
const arr = [
{ files: terms[word], score: Scorer.term },
{ files: titleTerms[word], score: Scorer.title },
{ files: terms.hasOwnProperty(word) ? terms[word] : undefined, score: Scorer.term },
{ files: titleTerms.hasOwnProperty(word) ? titleTerms[word] : undefined, score: Scorer.title },
];
// add support for partial matches
if (word.length > 2) {
const escapedWord = _escapeRegExp(word);
Object.keys(terms).forEach((term) => {
if (term.match(escapedWord) && !terms[word])
arr.push({ files: terms[term], score: Scorer.partialTerm });
});
Object.keys(titleTerms).forEach((term) => {
if (term.match(escapedWord) && !titleTerms[word])
arr.push({ files: titleTerms[word], score: Scorer.partialTitle });
});
if (!terms.hasOwnProperty(word)) {
Object.keys(terms).forEach((term) => {
if (term.match(escapedWord))
arr.push({ files: terms[term], score: Scorer.partialTerm });
});
}
if (!titleTerms.hasOwnProperty(word)) {
Object.keys(titleTerms).forEach((term) => {
if (term.match(escapedWord))
arr.push({ files: titleTerms[term], score: Scorer.partialTitle });
});
}
}
// no match but word was a required one
@@ -493,16 +549,16 @@ const Search = {
// set score for the word in each file
recordFiles.forEach((file) => {
if (!scoreMap.has(file)) scoreMap.set(file, {});
scoreMap.get(file)[word] = record.score;
if (!scoreMap.has(file)) scoreMap.set(file, new Map());
const fileScores = scoreMap.get(file);
fileScores.set(word, record.score);
});
});
// create the mapping
files.forEach((file) => {
if (fileMap.has(file) && fileMap.get(file).indexOf(word) === -1)
fileMap.get(file).push(word);
else fileMap.set(file, [word]);
if (!fileMap.has(file)) fileMap.set(file, [word]);
else if (fileMap.get(file).indexOf(word) === -1) fileMap.get(file).push(word);
});
});
@@ -534,7 +590,7 @@ const Search = {
break;
// select one (max) score for the file.
const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w]));
const score = Math.max(...wordList.map((w) => scoreMap.get(file).get(w)));
// add result to the result list
results.push([
docNames[file],
@@ -543,6 +599,7 @@ const Search = {
null,
score,
filenames[file],
SearchResultKind.text,
]);
}
return results;
@@ -553,8 +610,8 @@ const Search = {
* search summary for a given text. keywords is a list
* of stemmed words.
*/
makeSearchSummary: (htmlText, keywords) => {
const text = Search.htmlToText(htmlText);
makeSearchSummary: (htmlText, keywords, anchor) => {
const text = Search.htmlToText(htmlText, anchor);
if (text === "") return null;
const textLower = text.toLowerCase();

View File

@@ -1,7 +1,4 @@
/*
* sidebar.js
* ~~~~~~~~~~
*
* This script makes the Sphinx sidebar collapsible.
*
* .sphinxsidebar contains .sphinxsidebarwrapper. This script adds
@@ -16,9 +13,6 @@
* Once the browser is closed the cookie is deleted and the position
* reset to the default (expanded).
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
const initialiseSidebar = () => {

View File

@@ -5,29 +5,29 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>3. Errors and Errata &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=514cf933" />
<title>5. Errors and Errata &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=2bf1fcf8" />
<script src="_static/documentation_options.js?v=e6081414"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="REFERENCES" href="references.html" />
<link rel="prev" title="4. REFERENCES" href="references.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="references.html" title="REFERENCES"
<a href="references.html" title="4. REFERENCES"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Canadian Payroll Administration HR documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">3. </span>Errors and Errata</a></li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">5. </span>Errors and Errata</a></li>
</ul>
</div>
@@ -37,7 +37,7 @@
<div class="body" role="main">
<section id="errors-and-errata">
<h1><span class="section-number">3. </span>Errors and Errata<a class="headerlink" href="#errors-and-errata" title="Link to this heading"></a></h1>
<h1><span class="section-number">5. </span>Errors and Errata<a class="headerlink" href="#errors-and-errata" title="Link to this heading"></a></h1>
</section>
@@ -45,12 +45,12 @@
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<div>
<h4>Previous topic</h4>
<p class="topless"><a href="references.html"
title="previous chapter">REFERENCES</a></p>
title="previous chapter"><span class="section-number">4. </span>REFERENCES</a></p>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
@@ -59,7 +59,7 @@
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
@@ -67,28 +67,28 @@
<input type="submit" value="Go" />
</form>
</div>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="references.html" title="REFERENCES"
<a href="references.html" title="4. REFERENCES"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Canadian Payroll Administration HR documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">3. </span>Errors and Errata</a></li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">5. </span>Errors and Errata</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, Alexandre Bobkov.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
&#169; Copyright 2025.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>

View File

@@ -5,17 +5,17 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=514cf933" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=2bf1fcf8" />
<script src="_static/documentation_options.js?v=e6081414"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="#" />
<link rel="search" title="Search" href="search.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
@@ -43,9 +43,9 @@
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<div id="searchbox" style="display: none" role="search">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
@@ -53,13 +53,13 @@
<input type="submit" value="Go" />
</form>
</div>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
@@ -70,8 +70,8 @@
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, Alexandre Bobkov.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
&#169; Copyright 2025.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>

View File

@@ -6,18 +6,18 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Canadian Payroll Administration documentation &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=514cf933" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=2bf1fcf8" />
<script src="_static/documentation_options.js?v=e6081414"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="1. INTRODUCTION" href="introduction.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
@@ -50,13 +50,12 @@
<li class="toctree-l2"><a class="reference internal" href="payroll_accounting.html#journal-entries">2.1. Journal Entries</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="review_questions.html">REVIEW QUESTIONS</a><ul>
<li class="toctree-l2"><a class="reference internal" href="review_questions.html#new-employee-information">New Employee Information</a></li>
<li class="toctree-l2"><a class="reference internal" href="review_questions.html#review-questions-answers">Review Questions Answers</a></li>
<li class="toctree-l1"><a class="reference internal" href="review_questions.html">3. REVIEW QUESTIONS</a><ul>
<li class="toctree-l2"><a class="reference internal" href="review_questions.html#new-employee-information">3.1. New Employee Information</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="references.html">REFERENCES</a></li>
<li class="toctree-l1"><a class="reference internal" href="errata.html">3. Errors and Errata</a></li>
<li class="toctree-l1"><a class="reference internal" href="references.html">4. REFERENCES</a></li>
<li class="toctree-l1"><a class="reference internal" href="errata.html">5. Errors and Errata</a></li>
</ul>
</div>
</section>
@@ -72,7 +71,7 @@
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<div>
<h3><a href="#">Table of Contents</a></h3>
@@ -94,7 +93,7 @@
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
@@ -102,13 +101,13 @@
<input type="submit" value="Go" />
</form>
</div>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
@@ -122,8 +121,8 @@
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, Alexandre Bobkov.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
&#169; Copyright 2025.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>

View File

@@ -6,11 +6,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>1. INTRODUCTION &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=514cf933" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=2bf1fcf8" />
<script src="_static/documentation_options.js?v=e6081414"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="genindex.html" />
@@ -18,7 +18,7 @@
<link rel="next" title="2. Payroll Accounting" href="payroll_accounting.html" />
<link rel="prev" title="Canadian Payroll Administration documentation" href="index.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
@@ -70,7 +70,7 @@ These entries are essential for maintaining accurate financial records and ensur
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<div>
<h3><a href="index.html">Table of Contents</a></h3>
@@ -103,7 +103,7 @@ These entries are essential for maintaining accurate financial records and ensur
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
@@ -111,13 +111,13 @@ These entries are essential for maintaining accurate financial records and ensur
<input type="submit" value="Go" />
</form>
</div>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
@@ -134,8 +134,8 @@ These entries are essential for maintaining accurate financial records and ensur
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, Alexandre Bobkov.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
&#169; Copyright 2025.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>

View File

@@ -6,26 +6,26 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>2. Payroll Accounting &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=514cf933" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=2bf1fcf8" />
<script src="_static/documentation_options.js?v=e6081414"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="REVIEW QUESTIONS" href="review_questions.html" />
<link rel="next" title="3. REVIEW QUESTIONS" href="review_questions.html" />
<link rel="prev" title="1. INTRODUCTION" href="introduction.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="review_questions.html" title="REVIEW QUESTIONS"
<a href="review_questions.html" title="3. REVIEW QUESTIONS"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="introduction.html" title="1. INTRODUCTION"
@@ -44,6 +44,19 @@
<h1><span class="section-number">2. </span>Payroll Accounting<a class="headerlink" href="#payroll-accounting" title="Link to this heading"></a></h1>
<section id="journal-entries">
<h2><span class="section-number">2.1. </span>Journal Entries<a class="headerlink" href="#journal-entries" title="Link to this heading"></a></h2>
<p>Payroll accounting is a critical component of the Canadian Payroll Administration system. It involves the systematic recording, analysis, and reporting of payroll transactions to ensure that all financial aspects of employee compensation are accurately reflected in the organizations financial statements.
Payroll accounting includes the management of employee wages, tax withholdings, benefit deductions, and other payroll-related expenses. The system is designed to automate these processes, ensuring accuracy and compliance with Canadian payroll regulations.</p>
<section id="id1">
<h3><span class="section-number">2.1.1. </span>Journal Entries<a class="headerlink" href="#id1" title="Link to this heading"></a></h3>
<p>Journal entries are a key part of payroll accounting, as they document the financial impact of payroll transactions on the organizations accounts. Each payroll run generates a series of journal entries that reflect the distribution of wages, taxes, and deductions across various accounts.
These entries are essential for maintaining accurate financial records and ensuring that the organizations financial statements reflect the true cost of employee compensation. The Canadian Payroll Administration system automates the generation of these journal entries, reducing the risk of errors and ensuring compliance with accounting standards.</p>
<div class="line-block">
<div class="line">DR Payroll Expenses $10,500.00</div>
<div class="line-block">
<div class="line">CR Payroll Payable $10,500.00</div>
</div>
</div>
</section>
</section>
</section>
@@ -52,13 +65,16 @@
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<div>
<h3><a href="index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">2. Payroll Accounting</a><ul>
<li><a class="reference internal" href="#journal-entries">2.1. Journal Entries</a></li>
<li><a class="reference internal" href="#journal-entries">2.1. Journal Entries</a><ul>
<li><a class="reference internal" href="#id1">2.1.1. Journal Entries</a></li>
</ul>
</li>
</ul>
</li>
</ul>
@@ -72,7 +88,7 @@
<div>
<h4>Next topic</h4>
<p class="topless"><a href="review_questions.html"
title="next chapter">REVIEW QUESTIONS</a></p>
title="next chapter"><span class="section-number">3. </span>REVIEW QUESTIONS</a></p>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
@@ -81,7 +97,7 @@
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
@@ -89,20 +105,20 @@
<input type="submit" value="Go" />
</form>
</div>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="review_questions.html" title="REVIEW QUESTIONS"
<a href="review_questions.html" title="3. REVIEW QUESTIONS"
>next</a> |</li>
<li class="right" >
<a href="introduction.html" title="1. INTRODUCTION"
@@ -112,8 +128,8 @@
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, Alexandre Bobkov.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
&#169; Copyright 2025.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>

View File

@@ -5,33 +5,33 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>REFERENCES &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=514cf933" />
<title>4. REFERENCES &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=2bf1fcf8" />
<script src="_static/documentation_options.js?v=e6081414"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="3. Errors and Errata" href="errata.html" />
<link rel="prev" title="REVIEW QUESTIONS" href="review_questions.html" />
<link rel="next" title="5. Errors and Errata" href="errata.html" />
<link rel="prev" title="3. REVIEW QUESTIONS" href="review_questions.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="errata.html" title="3. Errors and Errata"
<a href="errata.html" title="5. Errors and Errata"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="review_questions.html" title="REVIEW QUESTIONS"
<a href="review_questions.html" title="3. REVIEW QUESTIONS"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Canadian Payroll Administration HR documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">REFERENCES</a></li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">4. </span>REFERENCES</a></li>
</ul>
</div>
@@ -41,7 +41,7 @@
<div class="body" role="main">
<section id="references">
<h1>REFERENCES<a class="headerlink" href="#references" title="Link to this heading"></a></h1>
<h1><span class="section-number">4. </span>REFERENCES<a class="headerlink" href="#references" title="Link to this heading"></a></h1>
</section>
@@ -49,17 +49,17 @@
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<div>
<h4>Previous topic</h4>
<p class="topless"><a href="review_questions.html"
title="previous chapter">REVIEW QUESTIONS</a></p>
title="previous chapter"><span class="section-number">3. </span>REVIEW QUESTIONS</a></p>
</div>
<div>
<h4>Next topic</h4>
<p class="topless"><a href="errata.html"
title="next chapter"><span class="section-number">3. </span>Errors and Errata</a></p>
title="next chapter"><span class="section-number">5. </span>Errors and Errata</a></p>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
@@ -68,7 +68,7 @@
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
@@ -76,31 +76,31 @@
<input type="submit" value="Go" />
</form>
</div>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="errata.html" title="3. Errors and Errata"
<a href="errata.html" title="5. Errors and Errata"
>next</a> |</li>
<li class="right" >
<a href="review_questions.html" title="REVIEW QUESTIONS"
<a href="review_questions.html" title="3. REVIEW QUESTIONS"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Canadian Payroll Administration HR documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">REFERENCES</a></li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">4. </span>REFERENCES</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, Alexandre Bobkov.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
&#169; Copyright 2025.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>

View File

@@ -5,33 +5,33 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>REVIEW QUESTIONS &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=514cf933" />
<title>3. REVIEW QUESTIONS &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=2bf1fcf8" />
<script src="_static/documentation_options.js?v=e6081414"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="REFERENCES" href="references.html" />
<link rel="next" title="4. REFERENCES" href="references.html" />
<link rel="prev" title="2. Payroll Accounting" href="payroll_accounting.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="references.html" title="REFERENCES"
<a href="references.html" title="4. REFERENCES"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="payroll_accounting.html" title="2. Payroll Accounting"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Canadian Payroll Administration HR documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">REVIEW QUESTIONS</a></li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">3. </span>REVIEW QUESTIONS</a></li>
</ul>
</div>
@@ -41,62 +41,10 @@
<div class="body" role="main">
<section id="review-questions">
<h1>REVIEW QUESTIONS<a class="headerlink" href="#review-questions" title="Link to this heading"></a></h1>
<h1><span class="section-number">3. </span>REVIEW QUESTIONS<a class="headerlink" href="#review-questions" title="Link to this heading"></a></h1>
<p>This section contains review questions for the material covered in the course. These questions are designed to test your understanding and help reinforce the concepts learned.</p>
<section id="new-employee-information">
<h2>New Employee Information<a class="headerlink" href="#new-employee-information" title="Link to this heading"></a></h2>
<p>What does the employees signature on an offer letter provide to the employer?
When an employee signs an offer of employment, they are implicitly providing
consent for the employer to collect and use information that is reasonably required
for employment purposes. When the offer letter clearly states that the organization
will be collecting, using and disclosing employee information required by
government agencies, pension plan administrators and benefit carriers, the
employees signature would provide express consent.</p>
<p>What types of documents are typically included in a commencement package?
The documents included in the commencement package are typically a
combination of:  organization-specific forms, such as personal information forms  government forms, such as the federal and provincial/territorial Personal
Tax Credits Return TD1 and Source Deductions Return TP-1015.3-V in
Québec  benefits forms, such as insurance enrollment forms</p>
<p>Name three forms that are commonly included in a commencement package.</p>
<dl>
<dt>Common forms included in a commencement package are:</dt><dd><p>i an authorization for hiring</p>
<p>i direct deposit agreement</p>
<p>i a union membership application (for unionized workplaces)</p>
<p>i benefits enrollment, if applicable (for example, health and dental coverage, optional life insurance coverage, the organizations pension plan)</p>
<p>i a confidentiality agreement</p>
</dd>
</dl>
<p>What document must an employer verify when hiring an individual with a 900-series
Social Insurance Number?
Employers hiring an individual with a 900-series Social Insurance Number must
ensure that the documentation has a valid date, that the work permit is valid and
that all terms and conditions of the permit are being followed.</p>
<p>What doespayroll use the information provided on the Personal Tax Credits Return TD1 and theSource Deductions Return - TP-1015.3-V for?</p>
<p>An employer needs the employees written authorization to deduct premiums from
an employees pay. The employees signature on the benefit enrollment forms
authorizes the deduction.</p>
<p>The Worksheet for the Personal Tax Credits Return TD1-WS is used to calculate
partial claim amounts for:
a. estimated annual income of $151,978 or more
b. age
c. Canada caregiver amount for eligible dependant or spouse or common-law partner
d. Canada caregiver amount for dependant(s) age 18 or older
e. <em>all of the above</em></p>
<p>An employee, who lives in Québec and works at an employers permanent establishment
in Ontario, will have income tax deducted based on _________ income tax rates and file
their income tax return, subject to _________ income tax rates.
a. Ontario, Ontario
b. Québec, Ontario
c. Ontario, Québec
d. <em>Québec, Québec</em></p>
<p>True or False. New employees must complete a federal Personal Tax</p>
</section>
<section id="review-questions-answers">
<h2>Review Questions Answers<a class="headerlink" href="#review-questions-answers" title="Link to this heading"></a></h2>
<p>This section provides the answers to the review questions presented in the course. Use these answers to check your understanding and clarify any concepts that may be unclear.
.. note::
If you have any questions or need further clarification on any of the answers, please refer to the course material or contact your instructor for assistance.
.. _review_questions_answers_section:</p>
<h2><span class="section-number">3.1. </span>New Employee Information<a class="headerlink" href="#new-employee-information" title="Link to this heading"></a></h2>
</section>
</section>
@@ -105,14 +53,13 @@ If you have any questions or need further clarification on any of the answers, p
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<div>
<h3><a href="index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">REVIEW QUESTIONS</a><ul>
<li><a class="reference internal" href="#new-employee-information">New Employee Information</a></li>
<li><a class="reference internal" href="#review-questions-answers">Review Questions Answers</a></li>
<li><a class="reference internal" href="#">3. REVIEW QUESTIONS</a><ul>
<li><a class="reference internal" href="#new-employee-information">3.1. New Employee Information</a></li>
</ul>
</li>
</ul>
@@ -126,7 +73,7 @@ If you have any questions or need further clarification on any of the answers, p
<div>
<h4>Next topic</h4>
<p class="topless"><a href="references.html"
title="next chapter">REFERENCES</a></p>
title="next chapter"><span class="section-number">4. </span>REFERENCES</a></p>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
@@ -135,7 +82,7 @@ If you have any questions or need further clarification on any of the answers, p
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
@@ -143,31 +90,31 @@ If you have any questions or need further clarification on any of the answers, p
<input type="submit" value="Go" />
</form>
</div>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="references.html" title="REFERENCES"
<a href="references.html" title="4. REFERENCES"
>next</a> |</li>
<li class="right" >
<a href="payroll_accounting.html" title="2. Payroll Accounting"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Canadian Payroll Administration HR documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">REVIEW QUESTIONS</a></li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">3. </span>REVIEW QUESTIONS</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, Alexandre Bobkov.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
&#169; Copyright 2025.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>

View File

@@ -5,23 +5,24 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &#8212; Canadian Payroll Administration HR documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=514cf933" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="_static/classic.css?v=2bf1fcf8" />
<script src="_static/documentation_options.js?v=e6081414"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/doctools.js?v=9bcbadda"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/searchtools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="#" />
<script src="searchindex.js" defer></script>
<script src="searchindex.js" defer="defer"></script>
<meta name="robots" content="noindex" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
@@ -62,23 +63,20 @@
</form>
<div id="search-results">
</div>
<div id="search-results"></div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<div class="related" role="navigation" aria-label="Related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
@@ -89,8 +87,8 @@
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2025, Alexandre Bobkov.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.2.6.
&#169; Copyright 2025.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
</div>
</body>
</html>

File diff suppressed because one or more lines are too long