*/ $StatusFilter = $_SESSION['StatusFilter']; if (!isset($searchVal)) $searchVal=''; $TargetForMY = $objSolarCustomer->getTargetForMY(); $IsAdmin = $_SESSION['IsAdmin'] || $_SESSION['IsSubAdmin']; $FixedCustomer = $_SESSION['IsCustomer']; $IsHasCustomer = ($FixedCustomer || $_SESSION['HasCustomer']); $curMonth = date('n'); $curYear = date('Y'); $custMaxDay = 0; if ($IsHasCustomer) { $custRow = $objSolarCustomer->getCustomerMDisp(2, $_SESSION['CustomerCd']); if (!empty($custRow)) { $MaxMonthlyTargetDate = strtotime($custRow[0]['MaxMonthlyTargetDate']); if ($MaxMonthlyTargetDate !== FALSE && date('n',$MaxMonthlyTargetDate)==$curMonth && date('Y',$MaxMonthlyTargetDate)==$curYear) { $custMaxDay = date('d', $MaxMonthlyTargetDate); } } } $custMaxDay = $custMaxDay==0 ? BusiLogic::CUSTMAXDAY : $custMaxDay; ?>

Monthly Target

$custMaxDay)) { ?>
Create Monthly Target   View All   Approve Monthly Target
Target For  >
Cust.ID Customer Year Month Status
>
Edit
Sorry! No Data Available To Show.