%-# 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. -%> <% unless @particulars.empty? %>
<%= t('sl_no') %> | <%= t('category') %> | <%= t('student_category')%> | <%= t('admission_number') %> | <%= t('amount') %> ( <%=currency %> ) |
<%= t('created_date') %> | |
<%= i+1 %> | <%= shorten_string(fees.name,80) %> | <%unless fees.student_category_id.nil?%> <%= StudentCategory.find(fees.student_category_id).name%> <% else %> - <% end %> | <%unless fees.admission_no.nil?%> <% student = Student.find_by_admission_no(fees.admission_no)%> <%= student.nil? ? "N.A." : student.full_name %> (<%= student.nil? ? "N.A." : student.admission_no %>) <% else %> - <% end %> | <%= fees.amount%> | <%= fees.created_at.strftime("%m-%d-%Y") %> | <%= link_to_remote "#{t('edit_text')}", :url => { :action => 'master_category_particulars_edit',:id => fees.id} %> <%# unless @finance_fee_category.check_fee_collection == false %> <%= link_to_remote t('delete_text'),:confirm=>"#{t('delete_msg')}", :url => { :action => 'master_category_particulars_delete',:id => fees.id} %> <%# else %> <%#*delete%> <%# end %> <%#*%> <%#= link_to_remote t('edit'), :url => { :action => 'master_category_particulars_edit',:id => fees.id} %> <%#*%> |
<%= t('no_particulars_to_display') %>! |