Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisjacquet committed Feb 6, 2015
1 parent 2de827f commit c65ce44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/Student_Billing/StudentPayments.php
Expand Up @@ -117,11 +117,12 @@
$columns += array('AMOUNT'=>_('Amount'),'PAYMENT_DATE'=>_('Date'),'COMMENTS'=>_('Comment'),'LUNCH_PAYMENT'=>_('Lunch Payment'));
if(!$_REQUEST['print_statements'] && AllowEdit())
$link['add']['html'] = array('REMOVE'=>button('add'),'AMOUNT'=>_makePaymentsTextInput('','AMOUNT'),'PAYMENT_DATE'=>ProperDate(DBDate()),'COMMENTS'=>_makePaymentsTextInput('','COMMENTS'),'LUNCH_PAYMENT'=>_lunchInput('','LUNCH_PAYMENT'));
if(!$_REQUEST['print_statements'] && AllowEdit())
if(!$_REQUEST['print_statements'])
{
echo '<FORM action="Modules.php?modname='.$_REQUEST['modname'].'" method="POST">';
//DrawStudentHeader();
DrawHeader('',SubmitButton(_('Save')));
if(AllowEdit())
DrawHeader('',SubmitButton(_('Save')));
$options = array();
}
else
Expand Down

0 comments on commit c65ce44

Please sign in to comment.