-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrep_customer_aged.php
118 lines (86 loc) · 5.36 KB
/
rep_customer_aged.php
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?php include "header.php" ?>
<div class="kt-container kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor kt-grid--stretch">
<div class="kt-body kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor kt-grid--stretch" id="kt_body">
<div class="kt-content kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">
<div class="kt-container kt-grid__item kt-grid__item--fluid">
<div class="row">
<div class="kt-portlet">
<div class="kt-portlet__head">
<div class="kt-portlet__head-label">
<h3 class="kt-portlet__head-title">
<?= trans('CUSTOMER AGED REPORT') ?>
</h3>
</div>
</div>
<form method="post" action="<?= erp_url('/ERP/reporting/prn_redirect.php') ?>" id="rep-form"
onsubmit="AxisPro.ShowPopUpReport(this)" class=" kt-form kt-form--fit kt-form--label-right">
<input type="hidden" name="REP_ID" value="102">
<input type="hidden" name="PARAM_2" value="">
<input type="hidden" name="PARAM_5" value="1">
<input type="hidden" name="PARAM_6" value="0">
<input type="hidden" name="PARAM_7" value="">
<input type="hidden" name="PARAM_8" value="0">
<div class="kt-portlet__body">
<div class="form-group row">
<label class="col-lg-2 col-form-label"><?= trans('End Date') ?>:</label>
<div class="col-lg-3">
<input type="text" name="PARAM_0" class="form-control ap-datepicker"
readonly placeholder="Select date" value="<?= Today() ?>" />
</div>
<label class="col-lg-2 col-form-label"><?= trans('Customer') ?>:</label>
<div class="col-lg-3">
<select class="form-control" name="PARAM_1" id="customer_id"></select>
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label"><?= trans('Summary Only') ?>:</label>
<div class="col-lg-3">
<select class="form-control kt-selectpicker" name="PARAM_4">
<option value="1"><?= trans('YES') ?></option>
<option value="0"><?= trans('NO') ?></option>
</select>
</div>
<label class="col-lg-2 col-form-label"><?= trans('EXPORT Type') ?>:</label>
<div class="col-lg-3">
<select class="form-control kt-selectpicker" name="PARAM_9">
<option value="0"><?= trans('PDF') ?></option>
<option value="1"><?= trans('EXCEL') ?></option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label"><?= trans('Allocation Based') ?>:</label>
<div class="col-lg-3">
<select class="form-control kt-selectpicker" name="PARAM_3">
<option value="1" selected><?= trans('No') ?></option>
<option value="0"><?= trans('Yes') ?></option>
</select>
</div>
</div>
</div>
<div class="kt-portlet__foot kt-portlet__foot--fit-x">
<div class="kt-form__actions">
<div class="row">
<div class="col-lg-2"></div>
<div class="col-lg-10">
<button type="submit" class="btn btn-success"><?= trans('GET REPORT') ?></button>
<button type="reset" class="btn btn-secondary"><?= trans('CLEAR') ?></button>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<?php ob_start(); ?>
<script>
$(function () {
initializeCustomersSelect2('#customer_id');
})
</script>
<?php $GLOBALS['__FOOT__'][] = ob_get_clean();
include "footer.php"; ?>