<%@ Language="VBScript" %> <% Option Explicit ' used variables Dim pageinfo, one, two, three, four, five, six, seven, expenses, income, pass, totalExpenses, grossIncome Dim sectionAtotal, sectionBtotal, sectionCtotal, sectionDtotal, sectionEtotal, sectionFtotal, sectionGtotal, sectionHtotal, sectionItotal, sectionJtotal ' check if the session for each section exist. ' If not initinalize it to 0 to avoid type mysmatch errors durning caculations If IsEmpty(Session("sectionAtotal")) Then sectionAtotal = 0 Else sectionAtotal = Session("sectionAtotal") End If If IsEmpty(Session("sectionBtotal")) Then sectionBtotal = 0 Else sectionBtotal = Session("sectionBtotal") End If If IsEmpty(Session("sectionCtotal")) Then sectionCtotal = 0 Else sectionCtotal = Session("sectionCtotal") End If If IsEmpty(Session("sectionDtotal")) Then sectionDtotal = 0 Else sectionDtotal = Session("sectionDtotal") End If If IsEmpty(Session("sectionEtotal")) Then sectionEtotal = 0 Else sectionEtotal = Session("sectionEtotal") End If If IsEmpty(Session("sectionFtotal")) Then sectionFtotal = 0 Else sectionFtotal = Session("sectionFtotal") End If If IsEmpty(Session("sectionGtotal")) Then sectionGtotal = 0 Else sectionGtotal = Session("sectionGtotal") End If If IsEmpty(Session("sectionHtotal")) Then sectionHtotal = 0 Else sectionHtotal = Session("sectionHtotal") End If If IsEmpty(Session("sectionItotal")) Then sectionItotal = 0 Else sectionItotal = Session("sectionItotal") End If If IsEmpty(Session("sectionJtotal")) Then sectionJtotal = 0 Else sectionJtotal = Session("sectionJtotal") End If ' calulate totalExpenses totalExpenses = sectionCtotal + sectionDtotal + sectionEtotal + sectionFtotal + sectionGtotal + sectionHtotal + sectionItotal + sectionJtotal ' calculate total income less the totalExpenses income = (sectionAtotal + sectionBtotal) - totalExpenses ' calculates the gross income grossIncome = (sectionAtotal + sectionBtotal) %> Fontaine & Associates Inc - Faillite/Consultation en Matière de Crédit/Liquidation de Dettes <% 'This will set the session to 5 hours. The user now has 5 hours to show activety within the site 'befor loosing his data entrees. Session.Timeout=120 %>
 
Énoncé de mission

Chez Fontaine & Associates, nous sommes engagés à fournir la meilleure solution possible aux difficultés financières:
  • par une approche personnalisée et professionnelle;
  • avec dignité, impartialité et équité et
  • grâce à l'excellence de nos services.
<% If IsEmpty(Session("sectionOne")) Then one = null two = null three = null four = null five = null six = null seven = null sectionAtotal = 0 Else pageinfo = Session("sectionOne") If pageinfo(0) <> "" Then one = formatNumber(CDbl(pageinfo(0))) one = Replace(one, ",", "") one = cDbl(one) End IF If pageinfo(1) <> "" Then two = formatNumber(CDbl(pageinfo(1))) two = Replace(two, ",", "") two = cDbl(two) End IF If pageinfo(2) <> "" Then three = formatNumber(CDbl(pageinfo(2))) three = Replace(three, ",", "") three = cDbl(three) End IF If pageinfo(3) <> "" Then four = formatNumber(CDbl(pageinfo(3))) four = Replace(four, ",", "") four = cDbl(four) End IF If pageinfo(4) <> "" Then five = formatNumber(CDbl(pageinfo(4))) five = Replace(five, ",", "") five = cDbl(five) End IF If pageinfo(5) <> "" Then six = formatNumber(CDbl(pageinfo(5))) six = Replace(six, ",", "") six = cDbl(six) End IF If pageinfo(6) <> "" Then seven = formatNumber(CDbl(pageinfo(6))) seven = Replace(seven, ",", "") seven = cDbl(seven) End IF sectionAtotal = one + two + three + four + five + six + seven 'use the formatted data for calculation 'now it's a little unusual but rebuild the values with .00 'if the value doesn't have cents If one = 0 Then one = null End If If InStr(one, ".") = 0 Then one = one & ".00" End If If two = 0 Then two = null End If If InStr(two, ".") = 0 Then two = two & ".00" End If If three = 0 Then three = null End If If InStr(three, ".") = 0 Then three = three & ".00" End If If four = 0 Then four = null End If If InStr(four, ".") = 0 Then four = four & ".00" End If If five = 0 Then five = null End If If InStr(five, ".") = 0 Then five = five & ".00" End If If six = 0 Then six = null End If If InStr(six, ".") = 0 Then six = six & ".00" End If If seven = 0 Then seven = null End If If InStr(seven, ".") = 0 Then seven = seven & ".00" End If End If %>

Section du budget

Instructions

  • Appuyez sur la section du budget désirée
  • Lorsque vous entrez les données, utilisez la touche TAB pour vous rendre à la prochaine entrée
  • La touche RETOUR fera en sorte que vos entrées soient acceptées et vous mènera à la prochaine section du budget
  •  

    Revenu brut: 

    Dépenses totales: 

    Revenu mensuel net: 


    Section du budget
    Section d’entrée des données sur le revenu mensuel net
    Revenu d’emploi net
    Pension/rentes nettes
    Pension alimentaire à un conjoint nette
    Assurance-emploi nette
    Aide sociale nette
    Revenu de travail autoname
    Autres revenus nets
    Total de la section:
       
       
    Revenu mensuel net

     

    Revenu net du conjoint/des enfants

    <%= formatNumber(Session("sectionBtotal")) %>

    Dépenses d’habitation

    <%= formatNumber(Session("sectionCtotal")) %>

    Dépenses personnelles

    <%= formatNumber(Session("sectionDtotal")) %>

    Dépenses médicales

    <%= formatNumber(Session("sectionEtotal")) %>

    Frais de subsistance

    <%= formatNumber(Session("sectionFtotal")) %>

    Transport <%= formatNumber(Session("sectionGtotal")) %>
    Assurance <%= formatNumber(Session("sectionHtotal")) %>
    Dépenses diverses <%= formatNumber(Session("sectionItotal")) %>
    Paiements

    <%= formatNumber(Session("sectionJtotal")) %>