|
|
@@ -61,6 +61,8 @@ use App\OrderPackageCommodities;
|
|
|
use App\OrderPackageCountingRecord;
|
|
|
use App\OrderTracking;
|
|
|
use App\Owner;
|
|
|
+use App\OwnerAreaReport;
|
|
|
+use App\OwnerBillReport;
|
|
|
use App\OwnerFeeDetail;
|
|
|
use App\OwnerFeeDetailLogistic;
|
|
|
use App\OwnerPriceExpress;
|
|
|
@@ -164,10 +166,17 @@ class TestController extends Controller
|
|
|
|
|
|
public function test()
|
|
|
{
|
|
|
- $w = Waybill::query()->first();
|
|
|
- $w->owner = $w->owner->name;
|
|
|
- $w = $w->withoutRelations();
|
|
|
- dd($w);
|
|
|
+ $a = OwnerBillReport::query()->first();
|
|
|
+ $a->update(["storage_fee" => -700.0]);
|
|
|
+ $b = OwnerAreaReport::query()->first();
|
|
|
+ $b->update([
|
|
|
+ "user_owner_group_id" => "1",
|
|
|
+ "area_on_tray" => "1",
|
|
|
+ "area_on_half_tray" => "1",
|
|
|
+ "area_on_flat" => "1",
|
|
|
+ "accounting_area" => 5.6,
|
|
|
+ ]);
|
|
|
+ dd("ok");
|
|
|
return view("test");
|
|
|
}
|
|
|
|