Skip to content

Commit

Permalink
Merge pull request #690 from OpenOlitor/fix/OO#165_csv_export_not_wor…
Browse files Browse the repository at this point in the history
…king_for_rechnung

Fix/oo#165 csv export not working for rechnung
  • Loading branch information
mcmpp authored Aug 6, 2024
2 parents c9b1c36 + 3117524 commit c49372b
Show file tree
Hide file tree
Showing 18 changed files with 80 additions and 42 deletions.
2 changes: 1 addition & 1 deletion app/scripts/abos/overview/zusatzabosoverview.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Zusatzabos</span>
<i class="fa fa-eye" aria-hidden="true" ng-hide="showAll" style="cursor: pointer;" ng-click="toggleShowAll()" tooltip-placement="left" uib-tooltip="{{'Alle Spalten einblenden' | translate}}"></i>
<i class="fa fa-eye-slash" aria-hidden="true" ng-show="showAll" style="cursor: pointer;" ng-click="toggleShowAll()" tooltip-placement="left" uib-tooltip="{{'Standardansicht' | translate}}"></i>
</script>
<div ng-show="entries" id="zusatzabosTable" display-export="true" export-file-name="Abos" class="horizontal-scroll">
<div ng-show="entries" id="zusatzabosTable" display-export="true" export-file-name="{{'Abos'| translate}}" class="horizontal-scroll">
<table ng-table="tableParams" class="table table-striped" show-filter="{{showFilter && hasData()}}" template-pagination="scripts/common/ngtable/oo-ngtable-paginationTemplate.html">
<tr ng-repeat="abo in $data | filter: search.query.$" id="selectedRow_{{abo.id}}">
<td header="'headerCheckbox.html'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Arbeitsangebote</s
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="arbeitsangebotTable" display-export="true" export-file-name="Arbeitseinsaetze">
<div ng-show="entries" id="arbeitsangebotTable" display-export="true" export-file-name="{{'Arbeitseinsaetze'| translate}}">
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" ng-change="updateChecked()" />
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Arbeitseinsätze</
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="arbeitseinsatzTable" display-export="true" export-file-name="Arbeitseinsaetze">
<div ng-show="entries" id="arbeitseinsatzTable" display-export="true" export-file-name="{{'Arbeitseinsaetze'|translate}}">
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h3 class="panel-title "><span class="navbar-brand">{{getPageTitle | translate}
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="arbeitseinsatzabrechnungTable" display-export="true" export-file-name="Arbeitseinsatzabrechnung">
<div ng-show="entries" id="arbeitseinsatzabrechnungTable" display-export="true" export-file-name="{{'Arbeitseinsatzabrechnung'| translate}}">
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ angular.module('openolitor-admin')
exportODSFilter: function() {
return {
f: $scope.search.filterQuery,
g: $scope.geschaeftsjahr
g: $scope.geschaeftsjahr,
'tf': JSON.stringify($scope.tableParams.filter())
};
},
getData: function(params) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Depotauslieferungen
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
<div ng-show="entries" id="auslieferungenTable" display-export="true" export-file-name="Depotauslieferungen" class="horizontal-scroll">
<div ng-show="entries" id="auslieferungenTable" display-export="true" export-file-name="{{'Depotauslieferungen'| translate}}" class="horizontal-scroll">
<table ng-table="tableParams" class="table table-striped" show-filter="{{showFilter && hasData()}}" template-pagination="scripts/common/ngtable/oo-ngtable-paginationTemplate.html">
<tr ng-repeat="depotauslieferung in $data | filter: search.query.$">
<td header="'headerCheckbox.html'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Postauslieferungen<
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
<div ng-show="entries" id="auslieferungenTable" display-export="true" export-file-name="Depotauslieferungen" class="horizontal-scroll">
<div ng-show="entries" id="auslieferungenTable" display-export="true" export-file-name="{{'PostAuslieferungen' | translate}}" class="horizontal-scroll">
<table ng-table="tableParams" class="table table-striped" show-filter="{{showFilter && hasData()}}" template-pagination="scripts/common/ngtable/oo-ngtable-paginationTemplate.html">
<tr ng-repeat="postauslieferung in $data | filter: search.query.$">
<td header="'headerCheckbox.html'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Tourauslieferungen<
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
<div ng-show="entries" id="auslieferungenTable" display-export="true" export-file-name="Depotauslieferungen" class="horizontal-scroll">
<div ng-show="entries" id="auslieferungenTable" display-export="true" export-file-name="{{'TourAuslieferungen'| translate}}" class="horizontal-scroll">
<table ng-table="tableParams" class="table table-striped" show-filter="{{showFilter && hasData()}}" template-pagination="scripts/common/ngtable/oo-ngtable-paginationTemplate.html">
<tr ng-repeat="tourauslieferung in $data | filter: search.query.$">
<td header="'headerCheckbox.html'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Einkaufsrechnungen<
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
<div ng-show="entries" id="abrechnungenTable" display-export="true" export-file-name="Einkaufsrechnungen" class="horizontal-scroll">
<div ng-show="entries" id="abrechnungenTable" display-export="true" export-file-name="{{'Einkaufsrechnungen'| translate}}" class="horizontal-scroll">
<table ng-table="tableParams" class="table table-striped" show-filter="{{showFilter && hasData()}}" template-pagination="scripts/common/ngtable/oo-ngtable-paginationTemplate.html">
{{$data}}
<tr ng-repeat="bestellung in $data | filter: search.query.$" id="selectedRow_{{bestellung.id}}">
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/kunden/overview/kundenoverview.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Kunden</span>
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="kundeTable" display-export="true" export-file-name="Kunden" class="horizontal-scroll">
<div ng-show="entries" id="kundeTable" display-export="true" export-file-name="{{'Kunden'| translate}}" class="horizontal-scroll">
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" ng-change="updateChecked()" />
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Lieferplanungen</sp
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
<div ng-show="entries" id="kundeTable" display-export="true" export-file-name="Lieferplanungen" class="horizontal-scroll">
<div ng-show="entries" id="kundeTable" display-export="true" export-file-name="{{'Lieferplanungen' | translate}}" class="horizontal-scroll">
<table ng-table="tableParams" class="table table-striped" show-filter="{{showFilter && hasData()}}" template-pagination="scripts/common/ngtable/oo-ngtable-paginationTemplate.html">
<tr ng-repeat="lieferplanung in $data">
<td header="'headerCheckbox.html'">
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/personen/overview/personenoverview.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Personen</span>
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="personTable" display-export="true" export-file-name="Personen" class="horizontal-scroll">
<div ng-show="entries" id="personTable" display-export="true" export-file-name="{{'Personen'}|translate}}" class="horizontal-scroll">
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" ng-change="updateChecked()" />
</script>
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/produkte/overview/produkteoverview.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Produkte</span>
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="produktTable" display-export="true" export-file-name="Produkte">
<div ng-show="entries" id="produktTable" display-export="true" export-file-name="{{'Produkte'|translate}}">
<table ng-table="tableParams" class="table table-striped" show-filter="{{showFilter && hasData()}}" template-pagination="scripts/common/ngtable/oo-ngtable-paginationTemplate.html">
<tr ng-repeat="produkt in $data | filter: search.query.$ track by produkt.id">
<td data-title="'Bezeichnung'|translate" sortable="'name'" ng-class="[{'col-md-3': produkt.editable}]">
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/produzenten/overview/produzentenoverview.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Produzenten</span>
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="produzentTable" display-export="true" export-file-name="Produzenten">
<div ng-show="entries" id="produzentTable" display-export="true" export-file-name="{{'Produzenten'| translate}}">
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ angular.module('openolitor-admin').controller('RechnungenOverviewController', [
return {
f: $scope.search.filterQuery,
g: $scope.geschaeftsjahr,
q: $scope.search.queryQuery,
};
},
getData: function (params) {
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/rechnungen/overview/rechnungenoverview.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Rechnungen</span>
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="rechnungenTable" display-export="true" export-file-name="Rechnungen" class="horizontal-scroll">
<div ng-show="entries" id="rechnungenTable" display-export="true" export-file-name="{{'Rechnungen'| translate}}" class="horizontal-scroll">
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" ng-change="updateChecked()" />
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3 class="panel-title"><span class="navbar-brand" translate>Rechnungspositionen
<div ng-hide="entries">
<p ng-show="loading"><i class="fa fa-circle-o-notch fa-spin fa-2x"></i></p>
</div>
<div ng-show="entries" id="rechnungsPositionTable" display-export="true" export-file-name="RechnungsPositionen" class="horizontal-scroll">
<div ng-show="entries" id="rechnungsPositionTable" display-export="true" export-file-name="{{'RechnungsPositionen'|translate}}" class="horizontal-scroll">
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" ng-class="checkboxes.css" value="" />
</script>
Expand Down
Loading

0 comments on commit c49372b

Please sign in to comment.