浏览代码

latest

master
Siti Rahayu 4 年前
父节点
当前提交
67f150d5af
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      app/Jobs/StoreNotice.php

+ 2
- 2
app/Jobs/StoreNotice.php 查看文件

@@ -27,7 +27,7 @@ use App\Jobs\UpdateCompoundPrice;
class StoreNotice implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
protected $request, $kpd, $no_badan, $no_siri;
protected $request, $non, $no_badan, $no_siri;

/**
* Create a new job instance.
@@ -147,7 +147,7 @@ class StoreNotice implements ShouldQueue
// dispatch(new UpdateCompoundPrice($this->kpd));

$staff = Staff::with('StaffDetail')->where('_id', $this->no_badan)->first();
$compound = Compound::with('ConfidentialFile','Attachment','CompoundInvestigation')->where('kpd',$this->non)->first();
$compound = Compound::with('ConfidentialFile','Attachment','CompoundInvestigation')->where('non',$this->non)->first();

$site = SiteSetting::first();
$faulty = Faulty::with('DeedLaw')->where('_id',$compound->seksyen_kesalahan)->first();

正在加载...
取消
保存