Preordernotification: Can attach Borderpoint image from Mapbox API now
This commit is contained in:
@@ -293,6 +293,15 @@ class PreordernotificationController extends mfBaseController {
|
||||
}
|
||||
}
|
||||
|
||||
if(is_array($r->status_id) && count($r->status_id)) {
|
||||
$filter["status_id"] = [];
|
||||
foreach($r->status_id as $status_id) {
|
||||
$test_status = new Preorderstatus($status_id);
|
||||
if(!$test_status || !$test_status->id) continue;
|
||||
$filter["status_id"][] = $status_id;
|
||||
}
|
||||
}
|
||||
|
||||
//var_dump($filter);
|
||||
$data = [];
|
||||
$data['preordercampaign_id'] = $campaign_id;
|
||||
@@ -301,6 +310,7 @@ class PreordernotificationController extends mfBaseController {
|
||||
$data['sender_replyto'] = $r->sender_replyto;
|
||||
$data['subject'] = $r->subject;
|
||||
$data['body_html'] = $r->body_html;
|
||||
$data["attach_borderpoint"] = $r->attach_borderpoint;
|
||||
$data['note'] = $r->note;
|
||||
|
||||
if($r->tosend_day) {
|
||||
|
||||
Reference in New Issue
Block a user