Skip to content

Commit

Permalink
drop status setting from migration
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Jul 15, 2024
1 parent f2a3975 commit 85d0127
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
9 changes: 0 additions & 9 deletions database/migrations/2023_12_55_234555_ordering_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ public function up(): void
$this->migrator->add('ordering.ordering_show_tax_number', true);
$this->migrator->add('ordering.ordering_show_registration_number', true);
$this->migrator->add('ordering.ordering_stating_code', "TOMATO");
$this->migrator->add('ordering.ordering_pending_status', "pending");
$this->migrator->add('ordering.ordering_prepared_status', "prepared");
$this->migrator->add('ordering.ordering_withdrew_status', "withdrew");
$this->migrator->add('ordering.ordering_shipped_status', "shipped");
$this->migrator->add('ordering.ordering_delivered_status', "delivered");
$this->migrator->add('ordering.ordering_cancelled_status', "cancelled");
$this->migrator->add('ordering.ordering_refunded_status', "refunded");
$this->migrator->add('ordering.ordering_done_status', "done");
$this->migrator->add('ordering.ordering_paid_status', "payed");
$this->migrator->add('ordering.ordering_active_inventory', 0);
$this->migrator->add('ordering.ordering_active_inventory_web_branch', 1);
$this->migrator->add('ordering.ordering_active_inventory_direct_branch', 1);
Expand Down
14 changes: 0 additions & 14 deletions src/Settings/OrderingSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@ class OrderingSettings extends Settings
public int $ordering_active_inventory_direct_branch;

public string $ordering_stating_code;
public array $ordering_pending_status;
public array $ordering_prepared_status;
public array $ordering_withdrew_status;
public array $ordering_shipped_status;

public array $ordering_delivered_status;

public array $ordering_cancelled_status;

public array $ordering_refunded_status;

public array $ordering_done_status;

public array $ordering_paid_status;

public bool $ordering_active_inventory;

Expand Down

0 comments on commit 85d0127

Please sign in to comment.