anchor.diff:        <div class="pull-right">
           <%= render 'admin/billing/invoices/group_actions' %>
         </div>
  +      
  +      <b>Total:</b> <%= number_to_currency Invoice.where(affiliate_id: @affiliate.id).sum(:amount) %> &nbsp; / &nbsp; 
  +      <b>Unpaid:</b> <%= number_to_currency Invoice.where(affiliate_id: @affiliate.id, paid: false).sum(:amount) %>
   
         <%= will_paginate invoices %>
         <form id="frmBatch" action="" method="post">
  
positive.code:       		<th>Seller</th>
        		<th class="text-center">Dropshipper Transaction Fee</th>
        		<th class="text-center">Seller Transaction Fee</th>
            <th>Created</th>
        		<th>&nbsp;</th>
        	</tr>
  
negative.code:       <% balance = Payment.where(affiliate_id: @affiliate.id).sum(:amount) %>
        
        <div class="pull-right">
          <b>Balance: </b><%= number_to_currency(balance, negative_format: "(%u%n)") %> &nbsp; / &nbsp; 
          <b>Unpaid Invoices:</b> <%= number_to_currency Invoice.where(affiliate_id: @affiliate.id, paid: false).sum(:amount) %>
        </div>
        
        <%= will_paginate payments %>
  