Skip to content

Commit 4ba3bc4

Browse files
committed
commit after pincode filter and weekly supply
1 parent 75df5ac commit 4ba3bc4

File tree

13 files changed

+5
-1
lines changed

13 files changed

+5
-1
lines changed

backend/modules/circulation/views/agency/weeklysupply.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
<div class="row">
2121
<?php $form = ActiveForm::begin(); ?>
2222
<div class="col-md-4">
23+
<?php
24+
$date=date("Y-m-d");
25+
$dt= date( "Y-m-d", strtotime( "$date +14 days" ) );
26+
?>
2327
<?= $form->field($model, 'from_date')->widget( DatePicker::className(), [
2428
// inline too, not bad
2529
'inline' => false,
@@ -29,7 +33,7 @@
2933
'autoclose' => true,
3034
'format' => 'yyyy-mm-dd',
3135
'daysOfWeekDisabled'=> [1,2,3,4,5,6],
32-
// 'startDate'=>date('Y-m-d'),
36+
'endDate'=>$dt,
3337
]
3438
]); ?>
3539
</div>
109 KB
Binary file not shown.
109 KB
Binary file not shown.
109 KB
Binary file not shown.
66.7 KB
Binary file not shown.
66.7 KB
Binary file not shown.
66.7 KB
Binary file not shown.
175 KB
Binary file not shown.
175 KB
Binary file not shown.
175 KB
Binary file not shown.

0 commit comments

Comments
 (0)