Changes between Version 1 and Version 2 of BudgetAnalysis
- Timestamp:
- 05/13/26 21:40:31 (13 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BudgetAnalysis
v1 v2 326 326 ) 327 327 VALUES ( 328 ' Michael',329 ' Richardson',330 'm ichael.r@email.com',331 ' 555-0101'328 'Марко', 329 'Стојановски', 330 'marko.stojanovski@email.com', 331 '+38970111222' 332 332 ); 333 333 … … 344 344 345 345 INSERT INTO venue_type(type_name) 346 VALUES (' BanquetHall');346 VALUES ('Wedding Hall'); 347 347 348 348 INSERT INTO venue ( … … 356 356 ) 357 357 VALUES ( 358 'G rand Vista',359 ' 123 Oak Street',360 'S pringfield',361 ' 123 Oak Street',358 'Golden Palace', 359 'Centar', 360 'Skopje', 361 'Ilindenska 15', 362 362 200, 363 363 45.00, 364 364 1 365 365 ); 366 367 INSERT INTO venue_booking ( 368 date, 369 start_time, 370 end_time, 371 status, 372 price, 373 venue_id, 374 wedding_id 375 ) 376 VALUES ( 377 '2024-06-15', 378 '17:00:00', 379 '23:00:00', 380 'CONFIRMED', 381 3600.00, 382 1, 383 1 384 ); 385 386 INSERT INTO photographer ( 387 name, 388 email, 389 phone_number, 390 price_per_hour 391 ) 392 VALUES ( 393 'Foto Studio Aurora', 394 'aurora@studio.mk', 395 '+38970222333', 396 150.00 397 ); 398 399 INSERT INTO photographer_booking ( 400 date, 401 start_time, 402 end_time, 403 status, 404 photographer_id, 405 wedding_id 406 ) 407 VALUES ( 408 '2024-06-15', 409 '16:00:00', 410 '22:00:00', 411 'CONFIRMED', 412 1, 413 1 414 ); 415 416 INSERT INTO band ( 417 band_name, 418 genre, 419 equipment, 420 phone_number, 421 price_per_hour 422 ) 423 VALUES ( 424 'Balkan Harmony', 425 'Pop/Folk', 426 'Full sound system', 427 '+38970333444', 428 200.00 429 ); 430 431 INSERT INTO band_booking ( 432 date, 433 start_time, 434 end_time, 435 status, 436 band_id, 437 wedding_id 438 ) 439 VALUES ( 440 '2024-06-15', 441 '17:30:00', 442 '23:00:00', 443 'CONFIRMED', 444 1, 445 1 446 ); 366 447 }}} 367 448 … … 369 450 370 451 {{{ 371 wedding_id | organizer_name | wedding_date | budgeted_amount372 ------------+------------------ ---+--------------+-----------------373 1 | Michael Richardson | 2024-06-15 | 8500.00452 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 374 455 }}} 375 456 376 457 === Calculation Verification === 377 458 378 * Venue Cost: fixed venue booking price379 * Photographer Cost: calculated using hourly duration380 * Band Cost: calculated using hourly duration381 * Total Actual Cost: sum of all vendor costs382 * Remaining Budget: planned budget minus total actual cost383 * Variance Percentage: remaining budget percentage relative to total budget459 * 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% 384 465 385 466 == Summary ==
