<?php } ?> </form> <?php } ?> </table></td> </tr> </table></td> <?php } endCacheTable(array('messageHeader' => "Reseller Payment", 'redir' => '', 'showTable' => true)); // List Reports ob_start(); ?> <select name="ri_ID" size="5" id="ri_ID" class="invoice"> <option value="">Select an Invoice</option> <?php func_fill_combo_conditionally("select ri_ID, ri_title, ri_status as class from `cs_reseller_invoice` ORDER BY `ri_status`='WireSuccess' ASC,`ri_date` DESC ", $_POST['rp_ID'], $cnn_cs); ?> </select> <BR> <input name="Submit" type="submit" value="View Invoice"> <?php $invoiceHistory = ob_get_contents(); ob_end_clean(); doTable($invoiceHistory, "Invoice History", "viewResellerInvoice.php");
</td> <td height="20" colspan="3" class="infoBold" align="right">Invoice: <img style="width:12; height:12" class="bk4" > Estimated Profit: <img style="width:12; height:12" class="bk5" ></td> </tr> <tr > <td colspan="7" class="infoBold"> <?php if ($adminInfo['li_level'] == 'full' || $adminInfo['li_bank'] == '15') { ?> All Bank Deductions are taken out of the next available payday. All other calculations are made 10 days back.<?php } ?> </td> </tr> </table> <?php } endCacheTable(array('messageHeader' => "Calendar View", 'redir' => '', 'showTable' => true)); // List Reports /* beginTable(); ?> <select name="bi_ID" size="5" id="bi_ID"> <?=$invoice_options?> </select> <BR> <input type="hidden" name="bankId" value="<?=$bankId?>"> <input name="Submit" type="submit" value="View Invoice"> <?php endTable("Invoice History","viewBankInvoice.php"); */ include "includes/footer.php";
echo formatMoney($est_payable); ?> <input type="hidden" name="userIdList" value="<?php echo $_REQUEST['userIdList']; ?> "> Custom Payday: <input type="text" name="custom_paydate" /> <input name="Submit" type="submit" class="infoSubSection" value="Pay Companys"> </td> </tr> </table></td> <?php } endCacheTable(array('messageHeader' => "Company Payment", 'redir' => '', 'showTable' => true)); } // List Reports $statusSql = 1; $mi_status = quote_smart($_REQUEST['mi_status']); if ($mi_status) { $statusSql = "mi_status = '{$mi_status}'"; } $invoiceSql = "select concat(mi_ID,'|',mi_status,'|',mib_ID) as mi_info , mi_title, mi_status as class from \n`cs_merchant_invoice` \nleft join `cs_merchant_invoice_banksub` as mi on mib_mi_ID = mi_ID\nleft join `cs_companydetails` as cd on cd.userId = mi_company_id \nWhere {$statusSql} {$userList_sql} and cd_pay_status='payable' and cd_ignore=0 GROUP BY `mi_ID` ORDER BY `mi_status`='WireSuccess' ASC , `mi_status`, `mi_date` DESC "; ob_start(); ?> <a name="InvoiceHistory"></a> <select name="mi_ID[]" size="10" id="mi_ID" class="invoice" multiple> <option value="">Select an Invoice</option> <?php