- Refactor edit.blade.php to handle admin-specific fields (accepted and sats_paid) through conditional logic.

- 📦 Upgrade Laravel framework, Livewire, and dependencies to ensure compatibility with version `13.1.1`.
This commit is contained in:
HolgerHatGarKeineNode
2026-03-23 17:50:17 +00:00
parent 347082bbc8
commit 7a992cec3f
31 changed files with 496 additions and 525 deletions

View File

@@ -2,10 +2,12 @@
namespace Database\Factories;
use App\Models\EinundzwanzigPleb;
use App\Models\ProjectProposal;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\ProjectProposal>
* @extends Factory<ProjectProposal>
*/
class ProjectProposalFactory extends Factory
{
@@ -17,7 +19,7 @@ class ProjectProposalFactory extends Factory
public function definition(): array
{
return [
'einundzwanzig_pleb_id' => \App\Models\EinundzwanzigPleb::factory(),
'einundzwanzig_pleb_id' => EinundzwanzigPleb::factory(),
'name' => $this->faker->sentence(3),
'description' => $this->faker->paragraph(),
'support_in_sats' => $this->faker->numberBetween(10000, 1000000),