Revize 347
Přidáno uživatelem Jiří Sviták před více než 15 roky(ů)
freenetis/trunk/kohana/application/i18n/cs_CZ/texts.php | ||
---|---|---|
'database has been successfully updated' => 'Databáze byla úspěšně upravena.',
|
||
'date' => 'Datum',
|
||
'date and time' => 'Datum a čas',
|
||
'date and time of creation' => 'Datum a čas vytvoření',
|
||
'date from' => 'Datum od',
|
||
'date from must be smaller then date to' => 'Datum od musí být menší než datum do',
|
||
'date of foundation' => 'Datum založení',
|
freenetis/trunk/kohana/application/models/transfer.php | ||
---|---|---|
public function get_transfer($trans_id = null)
|
||
{
|
||
return self::$db->query("SELECT
|
||
t.id, t.previous_transfer_id, t.datetime, t.text, t.amount,
|
||
t.id, t.previous_transfer_id, t.datetime, t.creation_datetime, t.text, t.amount,
|
||
oa.id AS oa_id,
|
||
oa.name AS oa_name,
|
||
da.id AS da_id,
|
freenetis/trunk/kohana/application/controllers/transfers.php | ||
---|---|---|
{
|
||
$transfer_model = new Transfer_Model();
|
||
$transfer = $transfer_model->get_transfer($transfer_id);
|
||
$previous = null;
|
||
if (isset($transfer->previous_transfer_id))
|
||
{
|
||
$previous_transfer_model = new Transfer_Model();
|
freenetis/trunk/kohana/application/views/transfers/show.php | ||
---|---|---|
<?php echo $message ? '<div class="message">'.$message.'</div>' : '' ?>
|
||
<?php echo html::anchor(url_lang::base().'transfers/show_all', url_lang::lang('texts.Back to day book')) ?><br />
|
||
<br />
|
||
<table class="extended" cellspacing="0" style="float:left">
|
||
<table class="extended" cellspacing="0">
|
||
<tr>
|
||
<th colspan="2"><?php echo url_lang::lang('texts.Transfer') ?></th>
|
||
</tr>
|
||
... | ... | |
<td><?php echo html::anchor(url_lang::base().'transfers/show_by_account/'.$transfer->da_id, $transfer->da_name); ?></td>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo url_lang::lang('texts.Previous transfer') ?></th>
|
||
<td><?php echo $transfer->previous_transfer_id; ?></td>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo url_lang::lang('texts.Date and time') ?></th>
|
||
<td><?php echo $transfer->datetime; ?></td>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo url_lang::lang('texts.Date and time of creation') ?></th>
|
||
<td><?php echo $transfer->creation_datetime; ?></td>
|
||
</tr>
|
||
<tr>
|
||
<th><?php echo url_lang::lang('texts.Text') ?></th>
|
||
<td><?php echo $transfer->text; ?></td>
|
||
</tr>
|
||
... | ... | |
</table>
|
||
<?php if ($transfer->previous_transfer_id)
|
||
echo "
|
||
<table class=\"extended\" cellspacing=\"0\" style=\"float:left; margin-left=25px\">
|
||
<br />
|
||
<table class=\"extended\" cellspacing=\"0\">
|
||
<tr>
|
||
<th colspan=\"2\">".url_lang::lang('texts.Transfer')."</th>
|
||
<th colspan=\"2\">".url_lang::lang('texts.Previous transfer')."</th>
|
||
</tr>
|
||
<tr>
|
||
<th>".url_lang::lang('texts.Previous transfer')."</th>
|
||
<th>ID</th>
|
||
<td>$previous->id</td>
|
||
</tr>
|
||
<tr>
|
||
... | ... | |
<td>$previous->datetime</td>
|
||
</tr>
|
||
<tr>
|
||
<th>". url_lang::lang('texts.Date and time of creation')."</th>
|
||
<td>$previous->creation_datetime</td>
|
||
</tr>
|
||
<tr>
|
||
<th>". url_lang::lang('texts.Text')."</th>
|
||
<td>$previous->text</td>
|
||
</tr>
|
||
... | ... | |
<td>".number_format($previous->amount, 2, ',', ' ')."</td>
|
||
</tr>
|
||
</table>
|
||
"
|
||
";
|
||
?>
|
||
|
Také k dispozici: Unified diff
Uprava zobrazeni prevodu.