<commit_before>{% extends 'AngleNickelTrackerAppBundle:Common:layout.html.twig' %}
{% set page_title = 'Dashboard' %}
{% set active = 'dashboard' %}


{% block content %}

    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            {{ 'now'|date('F Y', 'America/Monterrey') }}
            <small>Today's the {{ 'now'|date('jS', 'America/Monterrey') }} day of {{ 'last day of this month'|date('j', 'America/Monterrey') }} days in this month.</small>
        </h1>
    </section>

    <!-- Main content -->
    <section class="content">

       <!-- Progress Bar -->
        <div class="row">
            <div class="col-xs-12">


                <div class="box box-primary">
                    <div class="box-header with-border">
                        <i class="fa fa-usd"></i>
                        <h3 class="box-title">Budget</h3>
                    </div>

                    <div class="box-body">

                        <p>
                        ${{ dashboard.expense|number_format(2) }} spent
                        <span class="pull-right">Max ${{ dashboard.budget|number_format(2) }}</span>
                        </p>

                        <div class="progress">
                            <div class="progress-bar progress-bar-primary" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                                <span class="sr-only">40% Complete (success)</span>
                            </div>
                        </div>

                        <h4>Fun facts</h4>
                        <ul>
                            <li>You have spent {% if dashboard.budget > 0 %}{{ (dashboard.expense/dashboard.budget)|number_format(2) }}{% else %}0.00{% endif %}% of your budget in the first () days of this month.</li>
                        </ul>
                        <p>You have spent {% if dashboard.budget > 0 %} of your budget in the first () days of this month.</p>
                        <p>You are spending on average $$ per day.</p>
                        <p>You have $$ left for the remaining %% days of this month.</p><commit_msg>Updating<commit_after>{% extends 'AngleNickelTrackerAppBundle:Common:layout.html.twig' %}
{% set page_title = 'Dashboard' %}
{% set active = 'dashboard' %}


{% block content %}

    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            {{ 'now'|date('F Y', 'America/Monterrey') }}
            <small>Today's the {{ 'now'|date('jS', 'America/Monterrey') }} day of {{ 'last day of this month'|date('j', 'America/Monterrey') }} days in this month.</small>
        </h1>
    </section>

    <!-- Main content -->
    <section class="content">

       <!-- Progress Bar -->
        <div class="row">
            <div class="col-xs-12">


                <div class="box box-primary">
                    <div class="box-header with-border">
                        <i class="fa fa-usd"></i>
                        <h3 class="box-title">Budget</h3>
                    </div>

                    <div class="box-body">

                        <p>
                        ${{ dashboard.expense|number_format(2) }} spent
                        <span class="pull-right">Max ${{ dashboard.budget|number_format(2) }}</span>
                        </p>

                        <div class="progress">
                            <div class="progress-bar progress-bar-primary" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                                <span class="sr-only">40% Complete (success)</span>
                            </div>
                        </div>

                        <h4>Stats</h4>
                        <ul>
                            <li>You have spent {% if dashboard.budget > 0 %}{{ (dashboard.expense/dashboard.budget)|number_format(2) }}{% else %}0.00{% endif %}% of your budget in the first {{ 'now'|date('j', 'America/Monterrey') }} days of this month.</li>
                            <li>You are spending on average ${{ (dashboard.expense/('now'|date('j', 'America/Monterrey')))|number_format(2) }} per day.</li>
                        </ul>
                        <p>You have $$ left for the remaining %% days of this month.</p>
{'fraction_non_alphanumeric': 0.16090364223144307, 'fraction_numerical': 0.0119870908252651, 'mean_word_length': 1.5389116442363955, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 88, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3319058', 'n_tokens_mistral': 1289, 'n_tokens_neox': 1173, 'n_words': 276}