anchor.diff:          <li><%= link_to "#{t('view_timetable')}", :controller => "timetable", :action => "view" %></li>
         <%  end%>
         <%  if permitted_to? :edit,:timetable%>
  -        <% @config = Configuration.get_config_value('StudentAttendanceType') %>
  -        <% if @config == 'SubjectWise' %>
  +        <% @attendance_type = Configuration.get_config_value('StudentAttendanceType') %>
  +        <% if @attendance_type == 'SubjectWise' %>
             <li><%= link_to "#{t('swap_class')}", :controller => "timetable", :action => "extra_class" %></li>
           <%  end %>
         <%  end %>
  
positive.code:           <li><%= link_to "#{t('transactions')}", :controller => "finance", :action => "transactions" %> </li>
            <li><%= link_to "#{t('donations')}", :controller => "finance", :action => "donation" %></li>
            <li><%= link_to "#{t('automatic_transactions')}", :controller => "finance", :action => "automatic_transactions" %></li>
            <% unless @hr.nil? %>
              <li><%= link_to "#{t('payslip_text')}", :controller => "finance", :action => "payslip_index" %></li>
            <% end %>
  
negative.code:         <li><%= link_to "#{t('add_admission_additional_detail')}", :controller=>"student", :action => "add_additional_details" %></li>
        <% end %>
        <% if permitted_to? :index, :sms %>
          <% if @modules.include?('SMS') %>
            <li><%= link_to "#{t('sms_module')}", :controller=>"sms", :action => "index" %></li>
          <% end %>
        <% end %>
  