Changeset 498 for trunk/finance/user_state.php
- Timestamp:
- Mar 3, 2013, 6:02:17 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/user_state.php
r494 r498 87 87 if($Row['Value'] > 0) $Row['Value'] = '+'.$Row['Value']; 88 88 if($Row['BillCode'] == '') $Row['BillCode'] = 'PDF'; 89 if($Row['File'] > 0) $Invoice = '<a href="'.$this->System->Link('/FileDownload.php? Id='.$Row['File']).'">'.$Row['BillCode'].'</a>';89 if($Row['File'] > 0) $Invoice = '<a href="'.$this->System->Link('/FileDownload.php?id='.$Row['File']).'">'.$Row['BillCode'].'</a>'; 90 90 else $Invoice = ' '; 91 91 if($Row['PeriodFrom'] != '') $Period = HumanDate($Row['PeriodFrom']).' - '.HumanDate($Row['PeriodTo']); … … 113 113 $Output .= 'Rozpis měsíčního poplatku:<br><table class="WideTable">'. 114 114 '<tr><th>Služba</th><th>Cena [Kč]</th></tr>'; 115 $DbResult = $this->Database->query('SELECT Service.Name, Service.Price FROM ServiceCustomerRel LEFT JOIN Service '. 116 'ON Service.Id=ServiceCustomerRel.Service WHERE (ServiceCustomerRel.Customer='.$Member['Id'].') AND (ServiceCustomerRel.Period=0)'); 115 $DbResult = $this->Database->query('SELECT Service.Name, Service.Price FROM ServiceCustomerRel '. 116 'LEFT JOIN Service ON Service.Id=ServiceCustomerRel.Service '. 117 'WHERE (ServiceCustomerRel.Customer='.$Member['Id'].') AND (ServiceCustomerRel.Action IS NULL)'); 117 118 while($DbRow = $DbResult->fetch_assoc()) 118 119 {
Note:
See TracChangeset
for help on using the changeset viewer.