Просмотр исходного кода

Edit remove new in commission list

ifah
Siti Hajar Ibrahim 6 лет назад
Родитель
Сommit
ba22c8a4be
1 измененных файлов: 24 добавлений и 24 удалений
  1. 24
    24
      app/Http/Controllers/DS/MarketingController.php

+ 24
- 24
app/Http/Controllers/DS/MarketingController.php Просмотреть файл

@@ -304,12 +304,12 @@ class MarketingController extends Controller
$expiry_date = $reg_time->addDays(3);
$expiry_date = $expiry_date->getTimestamp();

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

array_push($nested_data, array(
'index' => $n1.$i,
'index' => $i,
'formT' => $a->formT,
'ranges' => $a->ranges,
'comm' => $a->comm,
@@ -343,12 +343,12 @@ class MarketingController extends Controller
$expiry_date = $reg_time->addDays(3);
$expiry_date = $expiry_date->getTimestamp();

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

array_push($nested_data, array(
'index' => $n1.$i,
'index' => $i,
'formT' => $a->formT,
'ranges' => $a->ranges,
'comm' => $a->comm,
@@ -382,12 +382,12 @@ class MarketingController extends Controller
$expiry_date = $reg_time->addDays(3);
$expiry_date = $expiry_date->getTimestamp();

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

array_push($nested_data, array(
'index' => $n1.$i,
'index' => $i,
'packageR' => $a->packageR,
'ranges' => $a->ranges,
'comm' => $a->comm,
@@ -421,12 +421,12 @@ class MarketingController extends Controller
$expiry_date = $reg_time->addDays(3);
$expiry_date = $expiry_date->getTimestamp();

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

array_push($nested_data, array(
'index' => $n1.$i,
'index' => $i,
'packageR' => $a->packageR,
'ranges' => $a->ranges,
'comm' => $a->comm,
@@ -460,12 +460,12 @@ class MarketingController extends Controller
$expiry_date = $reg_time->addDays(3);
$expiry_date = $expiry_date->getTimestamp();

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

array_push($nested_data, array(
'index' => $n1.$i,
'index' => $i,
'packageR' => $a->packageR,
'ranges' => $a->ranges,
'comm' => $a->comm,
@@ -500,12 +500,12 @@ class MarketingController extends Controller
$expiry_date = $reg_time->addDays(3);
$expiry_date = $expiry_date->getTimestamp();

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

array_push($nested_data, array(
'index' => $n1.$i,
'index' => $i,
'packageR' => $a->packageR,
'ranges' => $a->ranges,
'comm' => $a->comm,

Загрузка…
Отмена
Сохранить