Procházet zdrojové kódy

update date to 12-01-2020

ifah
Siti Hajar Ibrahim před 6 roky
rodič
revize
6eff69fef0

+ 3
- 3
resources/views/pdf/newBusiness-pdf.blade.php Zobrazit soubor

<body> <body>
<!-- Address --> <!-- Address -->
<table width="100%"> <table width="100%">
@if($package->name != '1' && $package->contract == '24' && (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-11-26'))
@if($package->name != '1' && $package->contract == '24' && (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-12-01'))
<tr> <tr>
<td align="left" style="font-size: 10px"> <td align="left" style="font-size: 10px">
<b style="color: red">Year End Promotion (RM10 off for 24 months)</b> <b style="color: red">Year End Promotion (RM10 off for 24 months)</b>
<tr> <tr>
<td> <td>
<table border="0" cellpadding="0" cellspacing="0"> <table border="0" cellpadding="0" cellspacing="0">
@if(($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-11-26')
@if(($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-12-01')
@foreach($product as $p) @foreach($product as $p)
@if($p->speed != '10' && $p->speed != '30') @if($p->speed != '10' && $p->speed != '30')
<tr> <tr>
</td> </td>
</tr> </tr>
<tr><td height="4"></td></tr> <tr><td height="4"></td></tr>
@if($package->name != '1' && $package->contract == '24' && (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-11-26'))
@if($package->name != '1' && $package->contract == '24' && (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-12-01'))
<tr> <tr>
<td style="font-size: 11px;"> <td style="font-size: 11px;">
<img src="{{ url('/assets/tick.png') }}" style="width:14px; height:auto"> Year End Promotion (RM10 off for 24 months) <img src="{{ url('/assets/tick.png') }}" style="width:14px; height:auto"> Year End Promotion (RM10 off for 24 months)

+ 3
- 3
resources/views/pdf/residential-pdf.blade.php Zobrazit soubor

<body> <body>
<!-- Address --> <!-- Address -->
<table width="100%"> <table width="100%">
@if($package->name != '1' && $package->contract == '24' && (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-11-26') )
@if($package->name != '1' && $package->contract == '24' && (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-12-01') )
<tr> <tr>
<td align="left" style="font-size: 10px"> <td align="left" style="font-size: 10px">
<b style="color: red">Year End Promotion (RM10 off for 24 months)</b> <b style="color: red">Year End Promotion (RM10 off for 24 months)</b>
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
@endforeach @endforeach
@elseif (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-11-26')
@elseif (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-12-01')
@foreach($product as $p) @foreach($product as $p)
<tr> <tr>
<td width="13" height="13" style="border:1px solid black;"> <td width="13" height="13" style="border:1px solid black;">
</td> </td>
</tr> </tr>
<tr><td height="4"></td></tr> <tr><td height="4"></td></tr>
@if ($package->name != '1' && $package->contract == '24' && (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-11-26'))
@if ($package->name != '1' && $package->contract == '24' && (($created >= '2020-08-12' && $created < '2020-11-01') || $created >= '2020-12-01'))
<tr> <tr>
<td style="font-size: 11px;"> <td style="font-size: 11px;">
<img src="{{ url('/assets/tick.png') }}" style="width:14px; height:auto"> Year End Promotion (RM10 off for 24 months) <img src="{{ url('/assets/tick.png') }}" style="width:14px; height:auto"> Year End Promotion (RM10 off for 24 months)

Načítá se…
Zrušit
Uložit