Added command line send/reject for orders

This commit is contained in:
Deon George
2018-09-18 12:37:04 +10:00
parent cf46a2cf42
commit aeacb726dd
7 changed files with 202 additions and 4 deletions

View File

@@ -68,7 +68,7 @@
language: {
emptyTable: "No Active Clients"
},
order: [1, 'asc'],
order: [3, 'asc'],
rowGroup: {
dataSrc: 'account_name',
startRender: null,
@@ -76,7 +76,7 @@
return rows.count()+' x ' + group;
},
},
orderFixed: [4, 'asc']
orderFixed: [1, 'asc']
});
$('#service_movements tbody').on('click','tr', function () {
@@ -84,4 +84,4 @@
});
});
</script>
@append
@append

View File

@@ -0,0 +1,30 @@
@component('mail::message',['site'=>$site])
# Your order was rejected.
@component('mail::panel')
@component('mail::table')
| Service | Details |
| :---------- | :---------------- |
| Account | {{ $service->account_name }} ({!! $service->account->account_id_url !!}) |
| Service ID | {!! $service->service_id_url !!} |
| Product | {{ $service->product_name }} |
@switch($service->category)
@case('ADSL')
| Address | {{ $service->service_adsl->service_address }} |
@break;
@case('VOIP')
| Address | {{ $service->service_voip->service_address }} |
| Supplier Details | {{ join(':',$service->order_info) }} |
@break;
@endswitch
@endcomponent
**REASON:** {{ $reason }}
@endcomponent
Thanks,<br>
{{ config('app.name') }}
@endcomponent