mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
Compare commits
1 Commits
fix-pdf-ur
...
fix-paymen
| Author | SHA1 | Date | |
|---|---|---|---|
| d6cc7564ac |
@ -435,7 +435,7 @@ class Payment extends Model implements HasMedia
|
|||||||
'{PAYMENT_DATE}' => $this->formattedPaymentDate,
|
'{PAYMENT_DATE}' => $this->formattedPaymentDate,
|
||||||
'{PAYMENT_MODE}' => $this->paymentMethod ? $this->paymentMethod->name : null,
|
'{PAYMENT_MODE}' => $this->paymentMethod ? $this->paymentMethod->name : null,
|
||||||
'{PAYMENT_NUMBER}' => $this->payment_number,
|
'{PAYMENT_NUMBER}' => $this->payment_number,
|
||||||
'{PAYMENT_AMOUNT}' => $this->reference_number,
|
'{PAYMENT_AMOUNT}' => format_money_pdf($this->amount, $this->customer->currency),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -46,32 +46,32 @@ return [
|
|||||||
Invoice::class => [
|
Invoice::class => [
|
||||||
'salt' => Invoice::class.config('app.key'),
|
'salt' => Invoice::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 'XKAR7m8jD2bqP9OSVeNGiYL465T10zhfWuc3',
|
'alphabet' => 'XKyIAR7mgt8jD2vbqPrOSVenNGpiYLx4M61T',
|
||||||
],
|
],
|
||||||
Estimate::class => [
|
Estimate::class => [
|
||||||
'salt' => Estimate::class.config('app.key'),
|
'salt' => Estimate::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 'yJW2P79M8rCHsVq5zbn1fXl6IUt3dAekGo40',
|
'alphabet' => 'yLJWP79M8rYVqbn1NXjulO6IUDdvekRQGo40',
|
||||||
],
|
],
|
||||||
Payment::class => [
|
Payment::class => [
|
||||||
'salt' => Payment::class.config('app.key'),
|
'salt' => Payment::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 'aqW3eR2Icf0jp65Gl7UVS1dhyb8Mn9XKTZ4O',
|
'alphabet' => 'asqtW3eDRIxB65GYl7UVLS1dybn9XrKTZ4zO',
|
||||||
],
|
],
|
||||||
Company::class => [
|
Company::class => [
|
||||||
'salt' => Company::class.config('app.key'),
|
'salt' => Company::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 's0D7xOFYEqn2uKJm3Pr9g8Cz46A1iHLBTVW5',
|
'alphabet' => 's0DxOFtEYEnuKPmP08Ch6A1iHlLmBTBVWms5',
|
||||||
],
|
],
|
||||||
EmailLog::class => [
|
EmailLog::class => [
|
||||||
'salt' => EmailLog::class.config('app.key'),
|
'salt' => EmailLog::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 'BA5tJUVNPe93fCq6DHlY2x4ZO1Kg7i8wSm0R',
|
'alphabet' => 'BRAMEz5str5UVe9oCqzoYY2oKgUi8wQQSmrR',
|
||||||
],
|
],
|
||||||
Transaction::class => [
|
Transaction::class => [
|
||||||
'salt' => Transaction::class.config('app.key'),
|
'salt' => Transaction::class.config('app.key'),
|
||||||
'length' => '20',
|
'length' => '20',
|
||||||
'alphabet' => 'ADyWE86Cg7jF23vS0bonXrZ5KLH9puIQ4M1T',
|
'alphabet' => 'ADyQWE8mgt7jF2vbnPrKLJenHVpiUIq4M12T',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user