File tree 4 files changed +31
-4
lines changed
common/src/intl/locales/en
RequestRequisition/ListView
ResponseRequisition/ListView
server/service/src/requisition/program_settings
4 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1179
1179
"message.nothing-to-save" : " Nothing to save" ,
1180
1180
"message.placeholder-line" : " A placeholder line has been created for additional requested quantity" ,
1181
1181
"message.placeholder-lines-cannot-be-returned" : " Placeholder lines cannot be returned" ,
1182
+ "message.program-period" : " Only the first five historic and future periods are available for selection." ,
1182
1183
"messages" : " Messages" ,
1183
1184
"messages.acknowledge-breach-helptext" : " Enter a comment and click OK to acknowledge the breach." ,
1184
1185
"messages.ago" : " {{time}} ago" ,
Original file line number Diff line number Diff line change @@ -205,7 +205,20 @@ export const ProgramRequisitionOptions = ({
205
205
/>
206
206
< LabelAndOptions { ...suppliers } optionKey = "name" />
207
207
< LabelAndOptions { ...orderTypes } optionKey = "name" />
208
- < LabelAndOptions { ...periods } optionKey = "name" />
208
+ < Grid item width = { '100%' } >
209
+ < Typography
210
+ sx = { {
211
+ fontStyle : 'italic' ,
212
+ color : 'gray.main' ,
213
+ fontSize : '12px' ,
214
+ paddingLeft : 20 ,
215
+ marginBottom : 0 ,
216
+ } }
217
+ >
218
+ { t ( 'message.program-period' ) }
219
+ </ Typography >
220
+ < LabelAndOptions { ...periods } optionKey = "name" />
221
+ </ Grid >
209
222
< Grid item >
210
223
< ButtonWithIcon
211
224
Icon = { < PlusCircleIcon /> }
Original file line number Diff line number Diff line change @@ -187,7 +187,20 @@ export const ProgramRequisitionOptions = ({
187
187
/>
188
188
< LabelAndOptions { ...customers } optionKey = "name" />
189
189
< LabelAndOptions { ...orderTypes } optionKey = "name" />
190
- < LabelAndOptions { ...periods } optionKey = "name" />
190
+ < Grid item width = { '100%' } >
191
+ < Typography
192
+ sx = { {
193
+ fontStyle : 'italic' ,
194
+ color : 'gray.main' ,
195
+ fontSize : '12px' ,
196
+ paddingLeft : 20 ,
197
+ marginBottom : 0 ,
198
+ } }
199
+ >
200
+ { t ( 'message.program-period' ) }
201
+ </ Typography >
202
+ < LabelAndOptions { ...periods } optionKey = "name" />
203
+ </ Grid >
191
204
< Grid item >
192
205
< ButtonWithIcon
193
206
Icon = { < PlusCircleIcon /> }
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ use repository::{
5
5
use util:: date_now;
6
6
7
7
// History = historic and current
8
- const MAX_NUMBER_OF_HISTORIC_PERIODS : usize = 2 ;
9
- const MAX_NUMBER_OF_FUTURE_PERIODS : usize = 2 ;
8
+ const MAX_NUMBER_OF_HISTORIC_PERIODS : usize = 5 ;
9
+ const MAX_NUMBER_OF_FUTURE_PERIODS : usize = 5 ;
10
10
11
11
/// Deduce if period is available for order_type based on
12
12
/// matching period_schedule_id and number of requisition that exists for this
You can’t perform that action at this time.
0 commit comments