#pragma checksum "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1e17873e5f8147cde777661e52662ab5ac44491f"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Depense_DetailAll), @"mvc.1.0.view", @"/Views/Depense/DetailAll.cshtml")]
namespace AspNetCore
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Mvc;
    using Microsoft.AspNetCore.Mvc.Rendering;
    using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\_ViewImports.cshtml"
using FamilyBudget;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\_ViewImports.cshtml"
using FamilyBudget.Models;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"1e17873e5f8147cde777661e52662ab5ac44491f", @"/Views/Depense/DetailAll.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"a276b455e0f5c2b0df4e12e1a88619bd0c353790", @"/Views/_ViewImports.cshtml")]
    public class Views_Depense_DetailAll : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<FamilyBudget.ViewModels.DepenseFactureViewModel>
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            WriteLiteral("\r\n");
#nullable restore
#line 3 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
  
    ViewData["Title"] = "Liste des Dépenses";

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n<h2 class=\"text-center\">Dépenses et Factures</h2>\r\n\r\n<!-- Section Dépenses -->\r\n<h3 class=\"mt-4\">📌 Dépenses</h3>\r\n<div class=\" box container\">\r\n");
#nullable restore
#line 12 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
     if (Model.Factures != null && Model.Factures.Any())
    {

#line default
#line hidden
#nullable disable
            WriteLiteral("        <div class=\"row\">\r\n");
#nullable restore
#line 15 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
             foreach (var depense in Model.Depenses)
            {

#line default
#line hidden
#nullable disable
            WriteLiteral("                <div class=\"col-md-4\">\r\n                    <div class=\"card shadow-sm mb-4\">\r\n                        <div class=\"card-body\">\r\n                            <h5 class=\"card-title text-primary\">");
#nullable restore
#line 20 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                           Write(depense.IdBudgetNavigation.Categorie);

#line default
#line hidden
#nullable disable
            WriteLiteral("</h5>\r\n                            <p class=\"card-text\">\r\n                                <strong>💰 Montant :</strong> <span class=\"text-danger\">-");
#nullable restore
#line 22 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                                                    Write(depense.Montant);

#line default
#line hidden
#nullable disable
            WriteLiteral(" FCFA</span> <br>\r\n                                <strong>📅 Date :</strong> ");
#nullable restore
#line 23 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                      Write(depense.DateDepense.ToString("dd/MM/yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral(" <br>\r\n                                <strong>🏦 Compte :</strong> ");
#nullable restore
#line 24 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                        Write(depense.Compte.Type);

#line default
#line hidden
#nullable disable
            WriteLiteral(" <br>\r\n                            </p>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n");
#nullable restore
#line 29 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
            }

#line default
#line hidden
#nullable disable
            WriteLiteral("        </div>\r\n");
#nullable restore
#line 31 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"

    }
    else
    {

#line default
#line hidden
#nullable disable
            WriteLiteral("        <p class=\"text-muted text-center\">❌ Aucune dépense enregistrée.</p>\r\n");
#nullable restore
#line 36 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
    }

#line default
#line hidden
#nullable disable
            WriteLiteral("    </div>\r\n\r\n    <!-- Section Factures -->\r\n    <h3 class=\"mt-4\">🧾 Factures</h3>\r\n    <div class=\"box container\">\r\n");
#nullable restore
#line 42 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
         if (Model.Factures != null && Model.Factures.Any())
        {

#line default
#line hidden
#nullable disable
            WriteLiteral("            <div class=\"row\">\r\n");
#nullable restore
#line 45 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                 foreach (var facture in Model.Factures)
                {

#line default
#line hidden
#nullable disable
            WriteLiteral("                    <div class=\"col-md-4\">\r\n                        <div class=\"card shadow-sm mb-4\">\r\n                            <div class=\"card-body\">\r\n                                <h5 class=\"card-title text-warning\">");
#nullable restore
#line 50 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                               Write(facture.CategorieFacture);

#line default
#line hidden
#nullable disable
            WriteLiteral("</h5>\r\n                                <p class=\"card-text\">\r\n                                    <strong>💰 Montant :</strong> <span class=\"text-danger\">-");
#nullable restore
#line 52 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                                                        Write(facture.Montant);

#line default
#line hidden
#nullable disable
            WriteLiteral(" FCFA</span> <br>\r\n                                    <strong>📅 Date :</strong> ");
#nullable restore
#line 53 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                          Write(facture.DateFacture.ToString("dd/MM/yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral(" <br>\r\n                                    <strong>🏦 Compte :</strong> ");
#nullable restore
#line 54 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                             Write(facture.Compte != null ? facture.Compte.Type : "Aucun");

#line default
#line hidden
#nullable disable
            WriteLiteral(" <br>\r\n                                    <strong>📝 Statut :</strong> ");
#nullable restore
#line 55 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                                                             Write(facture.IdFacture !=0 ? "Payée ✅" : "Non payée ❌");

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n                                </p>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n");
#nullable restore
#line 60 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
                }

#line default
#line hidden
#nullable disable
            WriteLiteral("            </div>\r\n");
#nullable restore
#line 62 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
        }
        else
        {

#line default
#line hidden
#nullable disable
            WriteLiteral("            <p class=\"text-muted text-center\">❌ Aucune facture enregistrée.</p>\r\n");
#nullable restore
#line 66 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Depense\DetailAll.cshtml"
        }

#line default
#line hidden
#nullable disable
            WriteLiteral(@"    </div>


    <style>
        .card {
            border-radius: 10px;
            transition: transform 0.2s ease-in-out;
        }

            .card:hover {
                transform: scale(1.03);
            }

        .btn {
            border-radius: 20px;
        }

        .box {
            padding: 10px;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
            border-radius: 10px;
        }
    </style>
");
        }
        #pragma warning restore 1998
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<FamilyBudget.ViewModels.DepenseFactureViewModel> Html { get; private set; }
    }
}
#pragma warning restore 1591
