-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlabour.php
121 lines (108 loc) · 4.66 KB
/
labour.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
118
119
120
121
<?php use \App\Permissions as P; ?>
<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">
<!-- Begin: Manage Section-->
<div class="w-100 p-3">
<div class="kt-subheader kt-subheader-custom kt-grid__item">
<div class="kt-container ">
<div class="kt-subheader__main">
<h3 class="kt-subheader__title"><?= trans('Manage') ?></h3>
</div>
</div>
</div>
<div class="row">
<?= createMenuTile(
P::SA_LBR_CREATE,
trans('New Maid'),
trans('Create new Maid'),
route('labour.create'),
'fa-user'
) ?>
<?= createMenuTile(
P::SA_CREATE_AGENT,
trans('New Agent'),
trans('Create new agent'),
route('agent.create'),
'fa-user-tie'
) ?>
<?= createMenuTile(
P::SA_LBR_CONTRACT,
trans('Create new contract'),
trans('Create new labour contract'),
route('contract.create'),
'fa-file-contract'
) ?>
<?= createMenuTile(
[
P::SA_STOCK_RETURN,
P::SA_MAID_RETURN
],
trans('Maid Return'),
trans('Maid Return Request'),
route('contract.maidReturn.create'),
'fa-reply'
) ?>
<?= createMenuTile(
[
P::SA_STOCK_REPLACEMENT,
P::SA_MAID_RETURN
],
trans('Maid Replacement'),
trans('Maid Replacement Request'),
route('contract.maidReplacement.create'),
'fa-exchange-alt'
) ?>
</div>
</div>
<!-- Begin: Inquiry Section-->
<div class="w-100 p-3">
<div class="kt-subheader kt-subheader-custom kt-grid__item">
<div class="kt-container ">
<div class="kt-subheader__main">
<h3 class="kt-subheader__title"><?= trans('Inquiry') ?></h3>
</div>
</div>
</div>
<div class="row">
<?= createMenuTile(
P::SA_LBR_VIEW,
trans('Maid List'),
trans('View all maids'),
route('labour.index'),
'fa-users'
) ?>
<?= createMenuTile(
P::SA_AGENT_LIST,
trans('Agent List'),
trans('View all agents'),
route('agent.index'),
'fa-users-cog'
) ?>
<?= createMenuTile(
P::SA_LBR_CONTRACT_INQ,
trans('Contract Inquiry'),
trans('View all contracts'),
route('contract.index'),
'fa-chart-bar'
) ?>
<?= createMenuTile(
P::SA_MAID_MOVEMENT_REPORT,
trans('Maid Movements'),
trans('Maid Movement Report'),
route('labour.reports.maidMovements'),
'fa-chart-bar'
) ?>
<?= createMenuTile(
P::SA_LBR_INSTALLMENT_REPORT,
trans('Installment Enquiry'),
trans('Installment Report'),
route('labour.reports.installmentReport'),
'fa-money-bill'
) ?>
</div>
</div>
<!-- End: Inquiry Section-->
</div>
</div>
</div>