major ui updates
This commit is contained in:
@@ -84,10 +84,10 @@ trait InteractsWithWmsData
|
||||
protected function seedPlatformPrices(): void
|
||||
{
|
||||
foreach ([
|
||||
['basic', 'Basic', 'Starter WMS access', 'Core warehouse management for small teams.', 4900, 49000, 10, false, true, ['2 warehouses', '10 users', 'Standard support']],
|
||||
['advanced', 'Advanced', 'Growing WMS operations', 'More users, warehouses and automation controls.', 14900, 149000, 20, true, true, ['5 warehouses', '100 users', 'Advanced support']],
|
||||
['pro', 'Pro', 'Professional WMS command centre', 'Full operational visibility for larger teams.', 29900, 299000, 30, false, true, ['15 warehouses', '1000 users', 'Priority support']],
|
||||
] as [$code, $name, $strapline, $description, $monthly, $annual, $sortOrder, $featured, $active, $features]) {
|
||||
['basic', 'Basic', 'Starter WMS access', 'Core warehouse management for small teams.', 4900, 49000, 10, false, true, ['2 warehouses', '10 users', 'Standard support']],
|
||||
['advanced', 'Advanced', 'Growing WMS operations', 'More users, warehouses and automation controls.', 14900, 149000, 20, true, true, ['5 warehouses', '100 users', 'Advanced support']],
|
||||
['pro', 'Pro', 'Professional WMS command centre', 'Full operational visibility for larger teams.', 29900, 299000, 30, false, true, ['15 warehouses', '1000 users', 'Priority support']],
|
||||
] as [$code, $name, $strapline, $description, $monthly, $annual, $sortOrder, $featured, $active, $features]) {
|
||||
PlatformPrice::query()->updateOrCreate(
|
||||
['code' => $code],
|
||||
[
|
||||
|
||||
@@ -4,9 +4,6 @@ namespace Tests\Browser;
|
||||
|
||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||||
use Laravel\Dusk\Browser;
|
||||
use Modules\Platform\app\Models\Company;
|
||||
use Modules\Platform\app\Models\LicenseKey;
|
||||
use Modules\Platform\app\Models\Payment;
|
||||
use Tests\Browser\Concerns\InteractsWithWmsBrowser;
|
||||
use Tests\Browser\Concerns\InteractsWithWmsData;
|
||||
use Tests\DuskTestCase;
|
||||
|
||||
@@ -63,7 +63,7 @@ class PlatformPricingBrowserTest extends DuskTestCase
|
||||
$this->assertSingleProfessionalHeader($browser, '');
|
||||
$browser->assertPresent('input[name="name"]')
|
||||
->assertPresent('input[name="monthly_amount"]')
|
||||
->visit('/admin/prices/' . $price->id . '/edit');
|
||||
->visit('/admin/prices/'.$price->id.'/edit');
|
||||
|
||||
$this->assertSingleProfessionalHeaderExists($browser);
|
||||
$browser->assertPresent('input[name="name"]')
|
||||
|
||||
Reference in New Issue
Block a user