bug fixes. added payment type to deposits

This commit is contained in:
Tóth Richárd
2018-03-18 17:37:52 +01:00
parent 1e4aff020f
commit 392b484666
14 changed files with 139 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
{if $setting->get_setv_setting()->get_set_setting_type_st_id() == 1}
<div class="full_width">
<form method="post">
@@ -14,7 +14,7 @@
</div>
</div>
<div>
<div class="right">
<input class="button black" type="submit" value="Mentés">
@@ -37,19 +37,19 @@
<div class="list">
{foreach $backups as $backup}
{if
{if
$backup@first ||
(
$backups[$backup@index]->get_bu_date()|substr:5:2 != $backups[$backup@index-1]->get_bu_date()|substr:5:2
$backups[$backup@index]->get_bu_date()|substr:5:2 != $backups[$backup@index-1]->get_bu_date()|substr:5:2
)
}
{if !$backup@first &&
{if !$backup@first &&
$backups[$backup@index]->get_bu_date()|substr:5:2 != $backups[$backup@index-1]->get_bu_date()|substr:5:2
}
</div>
{/if}
<span onclick="block_action('block_{$backup->get_bu_date()|substr:0:4}{$backup->get_bu_date()|substr:5:2}');" class="date_separator clickable">{$backups[$backup@index]->get_bu_date()|substr:0:4}.
<span onclick="block_action('block_{$backup->get_bu_date()|substr:0:4}{$backup->get_bu_date()|substr:5:2}');" class="date_separator clickable">{$backups[$backup@index]->get_bu_date()|substr:0:4}.
{$months[$backups[$backup@index]->get_bu_date()|substr:5:2]}
<img src="/_image/open_folder.png">
</span>
@@ -57,7 +57,7 @@
{/if}
<div class="list_item clickable" id="kid_{$backup->get_bu_id()}" onclick="open_kid_menu({$backup->get_bu_id()})">
<img src="/_image/backup.png">
<span class="bold">{$backup->get_bu_date()|date_format:"%Y.%m.%d %H:%M"}</span> #{$backup->get_bu_id()}
<span class="bold">{$backup->get_bu_date()|date_format:"%Y.%m.%d %H:%M"}</span> #{$backup->get_bu_id()}
</div>
<div class="kid_menu" id="kid_menu_{$backup->get_bu_id()}">
<div class="kid_submenu" onclick="download_backup('{$backup->get_bu_name()}')">
@@ -114,8 +114,10 @@ $( document ).ready(function() {
$( ".list" ).find( divs ).hide();
var div_list = $( ".list" ).find( divs );
open_block(div_list[0].id);
if (div_list[0] !== undefined) {
open_block(div_list[0].id);
}
});
@@ -133,4 +135,4 @@ function open_kid_menu(uk_id) {
}
</script>
</script>