mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
Merge branch 'master' of gitlab.com:mohit.panjvani/crater-web
This commit is contained in:
@ -40,7 +40,7 @@ class SendEstimateMail extends Mailable
|
|||||||
'mailable_id' => $this->data['estimate']['id']
|
'mailable_id' => $this->data['estimate']['id']
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $this->from($this->data['from'])
|
return $this->from($this->data['from'], config('mail.from.name'))
|
||||||
->subject($this->data['subject'])
|
->subject($this->data['subject'])
|
||||||
->markdown('emails.send.estimate', ['data', $this->data]);
|
->markdown('emails.send.estimate', ['data', $this->data]);
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace Crater\Mail;
|
namespace Crater\Mail;
|
||||||
|
|
||||||
|
use Config;
|
||||||
use Crater\Models\EmailLog;
|
use Crater\Models\EmailLog;
|
||||||
use Crater\Models\Invoice;
|
use Crater\Models\Invoice;
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
@ -40,7 +41,7 @@ class SendInvoiceMail extends Mailable
|
|||||||
'mailable_id' => $this->data['invoice']['id']
|
'mailable_id' => $this->data['invoice']['id']
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $this->from($this->data['from'])
|
return $this->from($this->data['from'], config('mail.from.name'))
|
||||||
->subject($this->data['subject'])
|
->subject($this->data['subject'])
|
||||||
->markdown('emails.send.invoice', ['data', $this->data]);
|
->markdown('emails.send.invoice', ['data', $this->data]);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,7 +41,7 @@ class SendPaymentMail extends Mailable
|
|||||||
'mailable_id' => $this->data['payment']['id']
|
'mailable_id' => $this->data['payment']['id']
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $this->from($this->data['from'])
|
return $this->from($this->data['from'], config('mail.from.name'))
|
||||||
->subject($this->data['subject'])
|
->subject($this->data['subject'])
|
||||||
->markdown('emails.send.payment', ['data', $this->data]);
|
->markdown('emails.send.payment', ['data', $this->data]);
|
||||||
|
|
||||||
|
|||||||
@ -258,7 +258,7 @@
|
|||||||
color: #595959;
|
color: #595959;
|
||||||
}
|
}
|
||||||
|
|
||||||
.total-display-box span {
|
.total-display-box .total-color {
|
||||||
float: right;
|
float: right;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
@ -336,7 +336,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="total-display-box">
|
<div class="total-display-box">
|
||||||
<p class="total-display-label">@lang('pdf_payment_amount_received_label')</p>
|
<p class="total-display-label">@lang('pdf_payment_amount_received_label')</p>
|
||||||
<span>{!! format_money_pdf($payment->amount, $payment->user->currency) !!}</span>
|
<span class="total-color">{!! format_money_pdf($payment->amount, $payment->user->currency) !!}</span>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user