/
stock_value.html
57 lines (49 loc) · 1.83 KB
/
stock_value.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<bh-report-preview
ng-if="ReportConfigCtrl.previewGenerated"
source-document="ReportConfigCtrl.previewResult"
on-clear-callback="ReportConfigCtrl.clearPreview()"
on-save-callback="ReportConfigCtrl.requestSaveAs()">
</bh-report-preview>
<div ng-show="!ReportConfigCtrl.previewGenerated">
<div class="row">
<div class="col-md-12">
<h3 translate>REPORT.STOCK_VALUE.TITLE</h3>
<p class="text-info" translate>REPORT.STOCK_VALUE.DESCRIPTION</p>
</div>
</div>
<div class="row" style="margin-top : 10px">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<span translate>REPORT.UTIL.OPTIONS</span>
</div>
<div class="panel-body">
<form name="ConfigForm" bh-submit="ReportConfigCtrl.preview(ConfigForm)" novalidate autocomplete="off">
<!-- select depot -->
<bh-depot-select
depot-uuid="ReportConfigCtrl.depot.uuid"
on-select-callback="ReportConfigCtrl.onSelectDepot(depot)"
required="true">
<bh-clear on-clear="ReportConfigCtrl.clear('depot')"></bh-clear>
</bh-depot-select>
<!-- choose date until -->
<bh-date-editor
label="FORM.LABELS.UNTIL_DATE"
limit-min-fiscal
date-value="ReportConfigCtrl.dateTo"
on-change="ReportConfigCtrl.onDateChange(date)">
</bh-date-editor>
<!-- the currency to be used in the footer -->
<bh-currency-select
currency-id="ReportConfigCtrl.currency_id">
</bh-currency-select>
<!-- preview -->
<bh-loading-button loading-state="ConfigForm.$loading">
<span translate>REPORT.UTIL.PREVIEW</span>
</bh-loading-button>
</form>
</div>
</div>
</div>
</div>
</div>