Changeset 295 for trunk/finance/bills.php
- Timestamp:
- Oct 2, 2010, 7:40:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/finance/bills.php
r184 r295 27 27 28 28 switch($Bill['Type']) 29 30 29 { 30 case 'invoice': 31 31 $Output = '<table width="100%"><tr><td colspan="2">'. 32 32 '<font size="6"><div align="center">Faktura - daňový doklad</font></div>'. … … 62 62 'Datum zdanitel. plnění: '.HumanDate($Bill['TimeCreate']).'<br>'. 63 63 'Datum splatnosti: '.HumanDate($Bill['TimeDue']).'<br>'; 64 if(($Bill['TimeFrom'] != '0000-00-00 00:00:00') and ($Bill['TimeTo'] != '0000-00-00 00:00:00'))65 $Output .= 'Fakturované období: '.HumanDate($Bill['TimeFrom']).' - '.HumanDate($Bill['TimeTo']).'<br>';64 //if(($Bill['TimeFrom'] != '0000-00-00 00:00:00') and ($Bill['TimeTo'] != '0000-00-00 00:00:00')) 65 // $Output .= 'Fakturované období: '.HumanDate($Bill['TimeFrom']).' - '.HumanDate($Bill['TimeTo']).'<br>'; 66 66 $Output .= '</td></tr>'. 67 67 '<tr><td colspan="2">'. … … 83 83 '<tr><td colspan="2"><hr></td></tr>'. 84 84 '</table>'; 85 86 87 85 break; 86 case 'income': 87 $Output = '<table width="100%" border="1" cellspacing="0" cellpadding="3"><tr><td width="50%">'. 88 88 '<strong>Firma:</strong><br>'. 89 89 'Ing. Jiří Hajda<br>'. … … 105 105 if($Subject['DIC'] != '') $Output .= 'DIČ: '.$Subject['DIC'].'<br>'; 106 106 $Total = 0; 107 107 $Description = ''; 108 108 foreach($Dodavka as $Polozka) 109 109 { … … 114 114 '<tr><td colspan="2"><strong>Částka:</strong> '.$Total.' Kč<br><br>'. 115 115 '</td></tr>'. 116 '<tr><td colspan="2"><strong>Účel platby:</strong><br>'.$Description.'</td></tr>'. 117 116 '<tr><td colspan="2"><strong>Účel platby:</strong><br>'.$Description.'</td></tr>'. 117 '<tr><td><br><br>Podpis příjemce:</td><td><br><br>Podpis pokladníka:</td></tr>'; 118 118 $Output .= '</table>'; 119 break; 120 } 121 119 break; 120 } 121 return($Output); 122 122 } 123 123
Note:
See TracChangeset
for help on using the changeset viewer.