%-# Fedena #Copyright 2010 Foradian Technologies Private Limited # #This product includes software developed at #Project Fedena - http://www.projectfedena.org/ # #Licensed under the Apache License, Version 2.0 (the "License"); #you may not use this file except in compliance with the License. #You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #Unless required by applicable law or agreed to in writing, #software distributed under the License is distributed on an #"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY #KIND, either express or implied. See the License for the #specific language governing permissions and limitations #under the License. -%>
<%= flash[:notice] %>
<% end %><%= t('sl_no') %> | <%= t('particulars') %> | <%= t('amount') %> (<%= currency %> ) | |
<%= i+1 %> | <%= fee.name %> | <%= fee.amount%> | |
<%= t('discount') %> | |||
<%= i+1 %> | <%= d.name %> | <%= d.discount%> | |
<%= i+1 %> | <%= d.name %> | <%= d.discount%> | |
<%= i+1 %> | <%= d.name %> | <%= d.discount%> | |
<%= t('total_discount') %> | <%= "#{@total_discount} %" %> | ||
<%= t('total_fees') %> | <%= total_fees %> | ||
<%= i+=1 %> | <%= t('fine_on') %> <%= Date.today %> | <%= @fine %> | |
<%= i+=1 %> | <%= t('fine_on') %> <%= trans.transaction_date %> | <%= trans.fine_amount %> | |
<%= t('payment_done') %> | |||
<%= i+=1 %> | <%= t('partial_payment_on') %> <%= p.transaction_date %> | <%= p.amount.to_f %> | |
<%= t('amount_to_pay') %> | <%= total_fees%> | ||
<%unless total_fees.to_f ==0 %>
<%= form.text_field :fees_paid, :value=>total_fees %>
<%= hidden_field_tag :total_fees, total_fees %>
<%= t('fees_paid') %><% end %> |
|||
<% unless @paid_fees.nil? or not total_fees.to_f == 0 %> <%= link_to "► #{t('print_receipt')}", {:controller => "finance", :action => "student_fee_receipt_pdf", :id => @student.id, :id2=>@date.id},:target => '_blank', :class=> 'user_button' %> <% end %> |