|
|
@@ -16,6 +16,7 @@ use App\DeliveryAppointment;
|
|
|
use App\DeliveryAppointmentDetail;
|
|
|
use App\Events\BroadcastToStation;
|
|
|
use App\Events\SendEmailEvent;
|
|
|
+use App\Events\SettlementBillCreateEvent;
|
|
|
use App\Exceptions\ErrorException;
|
|
|
use App\Exceptions\Exception;
|
|
|
use App\Feature;
|
|
|
@@ -50,6 +51,7 @@ use App\OrderPackage;
|
|
|
use App\Owner;
|
|
|
use App\OwnerAreaReport;
|
|
|
use App\OwnerFeeDetail;
|
|
|
+use App\OwnerLogisticFeeDetail;
|
|
|
use App\OwnerMaterial;
|
|
|
use App\OwnerPriceOperation;
|
|
|
use App\Package;
|
|
|
@@ -1357,4 +1359,22 @@ TEXT;
|
|
|
{
|
|
|
dd(md5( date("Y-m-d H:i:s")));
|
|
|
}
|
|
|
+
|
|
|
+ public function settlement_bill_create_event_test()
|
|
|
+ {
|
|
|
+ $arr = [
|
|
|
+ 'owner_fee_detail_id'=>2313213, //
|
|
|
+ 'logistic_bill'=>'14546465',//快递单号
|
|
|
+ 'initial_weight'=>'1',//首重
|
|
|
+ 'initial_weight_price'=>'2',//首重价格
|
|
|
+ 'additional_weight'=>'3',//续重
|
|
|
+ 'additional_price'=>'5',//续重价格
|
|
|
+ 'logistic_id'=>'7',//承运商
|
|
|
+ 'owner_id'=>'1',//货主
|
|
|
+ 'additional_weigh_weight'=>'11',//续重重量
|
|
|
+ 'tax_fee'=>'11',//税费
|
|
|
+ 'fee'=>'11111'//费用
|
|
|
+ ];
|
|
|
+ event(new SettlementBillCreateEvent($arr,OwnerLogisticFeeDetail::class));
|
|
|
+ }
|
|
|
}
|