This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.design.widget.CoordinatorLayout | |
android:id="@+id/main_content" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<android.support.design.widget.AppBarLayout | |
android:id="@+id/appbar" | |
android:layout_width="match_parent" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function balance_details($requests) { | |
// Čerpání | |
$balance = array(); | |
foreach ($requests as $request) { | |
// Není-li kód rozpočtové položky pak nastavíme na 0 | |
$bgt_code = $request['bgt_code'] > 0 ? $request['bgt_code'] : 0; | |
// Defaultní nastavení | |
if (!isset($balance[$bgt_code])) { |