Browse Source

fix syntax error

ifah
Siti Hajar Ibrahim 4 years ago
parent
commit
c3e0150543
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/Http/Controllers/DS/MarketingController.php

+ 2
- 2
app/Http/Controllers/DS/MarketingController.php View File



if(!empty($staff)) if(!empty($staff))
{ {
$var1 =$staff->name;=
$var1 =$staff->name;
} }
if(!empty($contractor)) if(!empty($contractor))
$expiry_date = $expiry_date->getTimestamp(); $expiry_date = $expiry_date->getTimestamp();


$n1=""; $n1="";
if($curr < $expiry_date) { if($curr < $expiry_date) {
$n1 = "New/"; $n1 = "New/";
} }

Loading…
Cancel
Save