Changes between Version 1 and Version 2 of BudgetAnalysis


Ignore:
Timestamp:
05/13/26 21:40:31 (13 days ago)
Author:
193284
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BudgetAnalysis

    v1 v2  
    326326)
    327327VALUES (
    328     'Michael',
    329     'Richardson',
    330     'michael.r@email.com',
    331     '555-0101'
     328    'Марко',
     329    'Стојановски',
     330    'marko.stojanovski@email.com',
     331    '+38970111222'
    332332);
    333333
     
    344344
    345345INSERT INTO venue_type(type_name)
    346 VALUES ('Banquet Hall');
     346VALUES ('Wedding Hall');
    347347
    348348INSERT INTO venue (
     
    356356)
    357357VALUES (
    358     'Grand Vista',
    359     '123 Oak Street',
    360     'Springfield',
    361     '123 Oak Street',
     358    'Golden Palace',
     359    'Centar',
     360    'Skopje',
     361    'Ilindenska 15',
    362362    200,
    363363    45.00,
    364364    1
    365365);
     366
     367INSERT INTO venue_booking (
     368    date,
     369    start_time,
     370    end_time,
     371    status,
     372    price,
     373    venue_id,
     374    wedding_id
     375)
     376VALUES (
     377    '2024-06-15',
     378    '17:00:00',
     379    '23:00:00',
     380    'CONFIRMED',
     381    3600.00,
     382    1,
     383    1
     384);
     385
     386INSERT INTO photographer (
     387    name,
     388    email,
     389    phone_number,
     390    price_per_hour
     391)
     392VALUES (
     393    'Foto Studio Aurora',
     394    'aurora@studio.mk',
     395    '+38970222333',
     396    150.00
     397);
     398
     399INSERT INTO photographer_booking (
     400    date,
     401    start_time,
     402    end_time,
     403    status,
     404    photographer_id,
     405    wedding_id
     406)
     407VALUES (
     408    '2024-06-15',
     409    '16:00:00',
     410    '22:00:00',
     411    'CONFIRMED',
     412    1,
     413    1
     414);
     415
     416INSERT INTO band (
     417    band_name,
     418    genre,
     419    equipment,
     420    phone_number,
     421    price_per_hour
     422)
     423VALUES (
     424    'Balkan Harmony',
     425    'Pop/Folk',
     426    'Full sound system',
     427    '+38970333444',
     428    200.00
     429);
     430
     431INSERT INTO band_booking (
     432    date,
     433    start_time,
     434    end_time,
     435    status,
     436    band_id,
     437    wedding_id
     438)
     439VALUES (
     440    '2024-06-15',
     441    '17:30:00',
     442    '23:00:00',
     443    'CONFIRMED',
     444    1,
     445    1
     446);
    366447}}}
    367448
     
    369450
    370451{{{
    371  wedding_id | organizer_name      | wedding_date | budgeted_amount
    372 ------------+---------------------+--------------+-----------------
    373  1          | Michael Richardson  | 2024-06-15   | 8500.00
     452 wedding_id | organizer_name   | wedding_date | budgeted_amount | venue_cost | photographer_cost | band_cost | total_actual_cost | remaining_budget | budget_variance_percent
     453------------+------------------+--------------+-----------------+------------+-------------------+-----------+-------------------+------------------+-------------------------
     454 1          | Марко Стојановски | 2024-06-15   | 8500.00         | 3600.00    | 900.00            | 1100.00   | 5600.00           | 2900.00          | 34.12
    374455}}}
    375456
    376457=== Calculation Verification ===
    377458
    378 * Venue Cost: fixed venue booking price
    379 * Photographer Cost: calculated using hourly duration
    380 * Band Cost: calculated using hourly duration
    381 * Total Actual Cost: sum of all vendor costs
    382 * Remaining Budget: planned budget minus total actual cost
    383 * Variance Percentage: remaining budget percentage relative to total budget
     459* Venue Cost: 3600.00
     460* Photographer Cost: 6 hours × 150.00 = 900.00
     461* Band Cost: 5.5 hours × 200.00 = 1100.00
     462* Total Actual Cost: 3600.00 + 900.00 + 1100.00 = 5600.00
     463* Remaining Budget: 8500.00 - 5600.00 = 2900.00
     464* Variance Percentage: (2900.00 / 8500.00) × 100 = 34.12%
    384465
    385466== Summary ==