Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions public/js/edash.js
Original file line number Diff line number Diff line change
Expand Up @@ -752,14 +752,14 @@ ctrllers.DashController=function($scope,$http){
district : facilityRecord.district,
poc_device : facilityRecord.poc_device,
tests : facilityRecord.tests,
wk1 : facilityRecord.wk1,
wk2 : facilityRecord.wk2,
wk3 : facilityRecord.wk3,
wk4 : facilityRecord.wk4,
wk5 : facilityRecord.wk5,
wk6 : facilityRecord.wk6,
wk7 : facilityRecord.wk7,
wk8 : facilityRecord.wk8,
wk7 : facilityRecord.wk7,
wk6 : facilityRecord.wk6,
wk5 : facilityRecord.wk5,
wk4 : facilityRecord.wk4,
wk3 : facilityRecord.wk3,
wk2 : facilityRecord.wk2,
wk1 : facilityRecord.wk1,
negatives : facilityRecord.negatives,
positives : facilityRecord.positives,
errors : facilityRecord.errors,
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dash.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ function yearByMonths($from_year=1900,$from_month=1,$to_year="",$to_month=""){
<section id="tab5"> @include('sections._results_printing_statistics')</section>
<section id="tab6"> @include('sections._poc_sites_statistics')
<br>
<button ng-hide="show_fclties1" id="exportDistricts" type="button" ng-csv="export_poc_facility_data" class="btn btn-success" filename="poc_stat_<%current_timestamp%>.csv" csv-header="['POC site', '# Peripheral facilities','District','Device','#Tests','week1','week2','week3','week4','week5','week6','week7','week8','Negatives','Positives','Errors','Last Report Date']">Download CSV</button>
<button ng-hide="show_fclties1" id="exportDistricts" type="button" ng-csv="export_poc_facility_data" class="btn btn-success" filename="poc_stat_<%current_timestamp%>.csv" csv-header="['POC site', '# Peripheral facilities','District','Device','#Tests','<?php echo 'week'.'-'.date("W",strtotime("-8 week")); ?>','<?php echo 'week'.'-'.date("W",strtotime("-7 week")); ?>','<?php echo 'week'.'-'.date("W",strtotime("-6 week")); ?>','<?php echo 'week'.'-'.date("W",strtotime("-5 week")); ?>','<?php echo 'week'.'-'.date("W",strtotime("-4 week")); ?>','<?php echo 'week'.'-'.date("W",strtotime("-3 week")); ?>','<?php echo 'week'.'-'.date("W",strtotime("-2 week")); ?>','<?php echo 'week'.'-'.date("W",strtotime("-1 week")); ?>','Negatives','Positives','Errors','Last Report Date']">Download CSV</button>
</section>
</div><!-- /content -->
</div><!-- /tabs -->
Expand Down