<!--
TemplateName:Admin
-->
<!DOCTYPE html>
<html>
<head>
	<title>~[text:psx.htmlc.idmFOTM.scan_printing_title]</title>
<!-- required scripts -->
	~[wc:commonscripts] 
<!-- Required style sheets: screen.css, and print.css --> 
	<link href="/images/css/screen.css" rel="stylesheet" media="screen">
	<link href="/images/css/print.css" rel="stylesheet" media="print">
    <style>
        @media print {
            .noPrint {
                display: none !important;
            }
        }
    </style>
</head> 
<body> 
	~[wc:admin_header_css] 
    <!-- breadcrumb start --><a href="/admin/home.html" target="_top">~[text:psx.html.admin_attendance_functions.attendancestatus.start_page]</a> > <a href="/admin/attendance/functions/attendancestatus.html" target="_top">~[text:psx.html.admin_attendance_functions.attendancestatus.attendance1]</a> > <a href="/admin/attendance/functions/idm_scanAttendance.html" target="_top">~[text:psx.htmlc.idmFOTM.scan_printing_title]</a> > ~[text:psx.htmlc.idmFOTM.print_scan_list]<!-- breadcrumb end --> 
<!-- start of main menu and content --> 
	~[wc:admin_navigation_css] 
<!-- Start of Page --> 
    <p style="float:right; margin:25px 20px;"><a href="https://www.identimetrics.net" target="_blank"><img src="/images/img/identimetrics-wordmark.svg" style="height:2em;"></a></p>
    <h1>~[text:psx.htmlc.idmFOTM.scan_printing_title]: ~[eaodate]</h1>
    <!-- start of content area --> 
    <div data-require-path="components/identimetricsFOTM/index" data-module-name="identimetricsFOTM" data-ng-controller="fotm" data-ng-cloak>
        <p data-ng-if="!auth" class="feedback-error">This school is not authorized to use this plugin.</p>
        <div data-ng-show="auth">
            <h3>Scan Listing for ~[schoolname]</h3>
            <table style="width:min-content;">
                <tr>
                    <td class="bold">From:</td>
                    <td style="white-space:nowrap;">
                        <input type="text" class="psDateWidget" data-ng-model="ctrlData.reportControls.dateStart">
                    </td>
                </tr>
                <tr>
                    <td class="bold">To:</td>
                    <td style="white-space:nowrap;">
                        <input type="text" class="psDateWidget" data-ng-model="ctrlData.reportControls.dateEnd">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <button type="button" data-ng-click="attService.load()">Reload</button>
                    </td>
                </tr>
            </table>
            <div class="box-round">
                <div
                    data-pss-grid-widget
                    data-data="ctrlData.scanEntries"
                    data-filtered-data="ctrlData.filteredEntries"
                    data-pss-message-prefixes="psx.htmlc.idm"
                    data-client-side-pagination="true"
                    data-pagination-controls="pgController"
                >
                    <table class="grid">
                        <thead>
                            <tr>
                                <td colspan="14" style="text-align:center;">
                                    <span style="float:right;">
                                        <button data-ng-click="buildSel()" data-ng-disabled="!selectedStudents().length">Make Current Selection ({{selectedStudents().length}})</button>
                                        <button data-ng-click="export()" data-ng-disabled="!selected().length">Export Selected ({{selected().length}})</button>
                                    </span>
                                    <input type="text" data-ng-model="ctrlData.textFilter" placeholder="Filter Table">
                                </td>
                            <tr>
                                <th><input type="checkbox" data-ng-model="ctrlData.toggleSel"></th>
                                <th data-pss-sort-fields="lastfirst">~[text:psx.htmlc.idmFOTM.student]</th>
                                <th data-pss-sort-fields="student_number|number">~[text:psx.htmlc.idmFOTM.student_number]</th>
                                <th data-pss-sort-fields="grade_level">~[text:psx.htmlc.idmFOTM.grade]</th>
                                <th data-pss-sort-fields="course_name,expression" data-ng-if="ctrlData.attType == 'Meeting'">~[text:psx.htmlc.idmFOTM.course]: Expression</th>
                                <th data-pss-sort-fields="term">Term</th>
                                <th data-pss-sort-fields="scanDateJS|date">~[text:psx.htmlc.idmFOTM.scan_date]</th>
                                <th data-pss-sort-fields="att_comment">~[text:psx.htmlc.idmFOTM.att_comment]</th>
                                <th data-pss-sort-fields="attCode|multiselect" data-filter-info="ctrlData.map.codes">~[text:psx.htmlc.idmFOTM.code]</th>
                                <th data-pss-sort-fields="codeType|multiselect" data-filter-info="ctrlData.map.codeTypes">Code Type</th>
                                <th data-pss-sort-fields="typeCount|number">Type Count</th>
                                <th data-pss-sort-fields="overallCount|number">Overall Count</th>
                                <th class="noPrint"></th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr data-ng-repeat="entry in ctrlData.filteredEntries">
                                <td style="text-align:center;"><input type="checkbox" data-ng-model="entry.selected"></td>
                                <td>
                                    <a data-ng-show="ctrlData.attType == 'Meeting'" href="/admin/attendance/record/week/meeting.html?frn=001{{entry.studentsdcid}}&ATT_RecordMode=ATT_ModeMeeting&startdate={{entry.weekStart.toLocaleDateString()}}&enddate={{entry.weekEnd.toLocaleDateString()}}&setUserScreen=1" target="_blank">{{entry.lastfirst}}</a>
                                    <a data-ng-show="ctrlData.attType == 'Daily'" href="/admin/attendance/view/daily.html?frn=001{{entry.studentsdcid}}" target="_blank">{{entry.lastfirst}}</a>
                                </td>
                                <td>{{entry.student_number}}</td>
                                <td>{{entry.grade_level}}</td>
                                <td data-ng-if="ctrlData.attType == 'Meeting'">{{entry.course_name}}<span data-ng-show="entry.expression">: {{entry.expression}}</span></td>
                                <td>{{entry.term}}</td>
                                <td>{{entry.scanDateJS|date}}</td>
                                <td>{{entry.att_comment|date}}</td>
                                <td title="{{entry.description}}">{{entry.attCode}}</td>
                                <td>{{ctrlData.map.codeTypesInverted[entry.codeType]}}</td>
                                <td>
                                    <span data-ng-if="entry.typeCount">{{entry.typeCount}}</span>
                                    <span data-ng-if="entry.codeType=='T'">TDY</span>
                                    <span data-ng-if="entry.codeType=='TU'">UNX</span>
                                    <span data-ng-if="entry.codeType=='TE'">EXC</span>
                                </td>
                                <td><span data-ng-if="entry.overallCount">{{entry.overallCount}}</td>
                                <td class="noPrint">
                                    <button type="button" data-ng-if="entry.tardySlip == '1'" data-ng-click="attService.viewSlip(entry, 1)">~[text:psx.htmlc.idmFOTM.view_slip]</button>
                                </td>    
                            </tr>
                        </tbody>
                    </table>
                    <label data-pss-filter-field="course_name">Course</label>
                    <label data-pss-filter-field="expression">Expression</label>
                    <label data-pss-filter-field="submittedByFOTM|multiselect" data-filter-info="ctrlData.map.yesno">~[text:psx.htmlc.idmFOTM.created_fotm]</label>
                    <label data-pss-filter-field="tardySlip|multiselect" data-filter-info="ctrlData.map.yesno">~[text:psx.htmlc.idmFOTM.has_tardy_slip]</label>
                </div>
                <div data-ng-include="'/scripts/components/identimetricsFOTM/views/idM_FOTM_tardySlip.html'"></div>
            </div>
        </div>
	</div> 
    ~[wc:idM_FOTM_args]
    <script>
        idmFOTMArgs.scanType = "printPage"
    </script>
<!-- end of content area --> 
	~[wc:admin_footer_css] 
    ~[wc:idM_AutoTardy_auth]
</body> 
</html>