diff --git a/assets/css/custom.css b/assets/css/custom.css index 446e6f7..97f9708 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -2,6 +2,7 @@ --bg-color: #0a0a0f; --surface-color: #1a1a24; --accent-blue: #00f2ff; + --accent-color: #00f2ff; --accent-violet: #8a2be2; --text-primary: #ffffff; --text-secondary: #a0a0b0; diff --git a/create_startup.php b/create_startup.php index 686e84b..f965582 100644 --- a/create_startup.php +++ b/create_startup.php @@ -33,8 +33,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $other_partnership_details = $_POST['other_partnership_details'] ?? ''; $current_cash_balance = $_POST['current_cash_balance'] ?? 0.0; - $outstanding_debt = $_POST['outstanding_debt'] ?? ''; - $accounts_receivable_payable = $_POST['accounts_receivable_payable'] ?? ''; $burn_rate = $_POST['burn_rate'] ?? 0.0; $doc_fields = [ @@ -116,7 +114,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $stmt = db()->prepare("UPDATE startups SET name = ?, legal_name = ?, country = ?, industry = ?, sub_industry = ?, business_model = ?, product_service = ?, operational_stage = ?, cofounder_equity_pct = ?, cofounder_equity_type = ?, cofounder_responsibilities = ?, desired_cofounder_experience = ?, cofounder_commitment = ?, other_partnership_details = ?, - current_cash_balance = ?, outstanding_debt = ?, accounts_receivable_payable = ?, burn_rate = ?, + current_cash_balance = ?, burn_rate = ?, doc_income_statements = ?, doc_balance_sheets = ?, doc_cash_flow_statements = ?, doc_revenue_breakdown = ?, doc_gross_margin = ?, recommended_return_rate = ?, recommended_return_reasoning = ? WHERE id = ? AND founder_id = ?"); @@ -124,7 +122,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $stmt->execute([ $name, $legal_name, $country, $industry, $sub_industry, $business_model, $product_service, $operational_stage, $cofounder_equity_pct, $cofounder_equity_type, $cofounder_responsibilities, $desired_cofounder_experience, $cofounder_commitment, $other_partnership_details, - $current_cash_balance, $outstanding_debt, $accounts_receivable_payable, $burn_rate, + $current_cash_balance, $burn_rate, $uploaded_paths['doc_income_statements'], $uploaded_paths['doc_balance_sheets'], $uploaded_paths['doc_cash_flow_statements'], $uploaded_paths['doc_revenue_breakdown'], $uploaded_paths['doc_gross_margin'], $recommended_return_rate, $recommended_return_reasoning, $existingStartup['id'], $_SESSION['user_id'] @@ -134,7 +132,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $stmt = db()->prepare("INSERT INTO startups ( name, legal_name, country, industry, sub_industry, business_model, product_service, operational_stage, cofounder_equity_pct, cofounder_equity_type, cofounder_responsibilities, desired_cofounder_experience, cofounder_commitment, other_partnership_details, - current_cash_balance, outstanding_debt, accounts_receivable_payable, burn_rate, + current_cash_balance, burn_rate, doc_income_statements, doc_balance_sheets, doc_cash_flow_statements, doc_revenue_breakdown, doc_gross_margin, founder_id, recommended_return_rate, recommended_return_reasoning, status ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'private')"); @@ -142,7 +140,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $stmt->execute([ $name, $legal_name, $country, $industry, $sub_industry, $business_model, $product_service, $operational_stage, $cofounder_equity_pct, $cofounder_equity_type, $cofounder_responsibilities, $desired_cofounder_experience, $cofounder_commitment, $other_partnership_details, - $current_cash_balance, $outstanding_debt, $accounts_receivable_payable, $burn_rate, + $current_cash_balance, $burn_rate, $uploaded_paths['doc_income_statements'], $uploaded_paths['doc_balance_sheets'], $uploaded_paths['doc_cash_flow_statements'], $uploaded_paths['doc_revenue_breakdown'], $uploaded_paths['doc_gross_margin'], $_SESSION['user_id'], $recommended_return_rate, $recommended_return_reasoning @@ -170,7 +168,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {