Browse Source

latest

master
Siti Rahayu 4 years ago
parent
commit
67f150d5af
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/Jobs/StoreNotice.php

+ 2
- 2
app/Jobs/StoreNotice.php View File

class StoreNotice implements ShouldQueue class StoreNotice implements ShouldQueue
{ {
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
protected $request, $kpd, $no_badan, $no_siri;
protected $request, $non, $no_badan, $no_siri;


/** /**
* Create a new job instance. * Create a new job instance.
// dispatch(new UpdateCompoundPrice($this->kpd)); // dispatch(new UpdateCompoundPrice($this->kpd));


$staff = Staff::with('StaffDetail')->where('_id', $this->no_badan)->first(); $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(); $site = SiteSetting::first();
$faulty = Faulty::with('DeedLaw')->where('_id',$compound->seksyen_kesalahan)->first(); $faulty = Faulty::with('DeedLaw')->where('_id',$compound->seksyen_kesalahan)->first();

Loading…
Cancel
Save