Fixes for missing place holders for statements
This commit is contained in:
parent
b0f372fc52
commit
0871706094
|
|
@ -30,9 +30,47 @@ return new class extends Migration
|
||||||
'$payment.payment_balance',
|
'$payment.payment_balance',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
$pdf_variables->statement_unapplied_columns = $ss;
|
$pdf_variables->statement_unapplied_columns = $ss;
|
||||||
|
|
||||||
|
|
||||||
|
$ss = [
|
||||||
|
'$invoice.number',
|
||||||
|
'$payment.date',
|
||||||
|
'$method',
|
||||||
|
'$statement_amount',
|
||||||
|
];
|
||||||
|
|
||||||
|
$pdf_variables->statement_payment_columns = $ss;
|
||||||
|
|
||||||
|
$ss = [
|
||||||
|
'$credit.number',
|
||||||
|
'$credit.date',
|
||||||
|
'$total',
|
||||||
|
'$credit.balance',
|
||||||
|
];
|
||||||
|
|
||||||
|
$pdf_variables->statement_credit_columns = $ss;
|
||||||
|
|
||||||
|
|
||||||
|
$ss = [
|
||||||
|
'$statement_date',
|
||||||
|
'$balance'
|
||||||
|
];
|
||||||
|
|
||||||
|
$pdf_variables->statement_details = $ss;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$ss = [
|
||||||
|
'$invoice.number',
|
||||||
|
'$invoice.date',
|
||||||
|
'$due_date',
|
||||||
|
'$total',
|
||||||
|
'$balance',
|
||||||
|
];
|
||||||
|
|
||||||
|
$pdf_variables->statement_invoice_columns = $ss;
|
||||||
|
|
||||||
$settings->pdf_variables = $pdf_variables;
|
$settings->pdf_variables = $pdf_variables;
|
||||||
$c->settings = $settings;
|
$c->settings = $settings;
|
||||||
$c->save();
|
$c->save();
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ Route::get('client/ninja/{contact_key}/{company_key}', [App\Http\Controllers\Cli
|
||||||
Route::group(['middleware' => ['auth:contact', 'locale', 'domain_db','check_client_existence'], 'prefix' => 'client', 'as' => 'client.'], function () {
|
Route::group(['middleware' => ['auth:contact', 'locale', 'domain_db','check_client_existence'], 'prefix' => 'client', 'as' => 'client.'], function () {
|
||||||
Route::get('dashboard', [App\Http\Controllers\ClientPortal\DashboardController::class, 'index'])->name('dashboard'); // name = (dashboard. index / create / show / update / destroy / edit
|
Route::get('dashboard', [App\Http\Controllers\ClientPortal\DashboardController::class, 'index'])->name('dashboard'); // name = (dashboard. index / create / show / update / destroy / edit
|
||||||
|
|
||||||
Route::post('client/ninja/trial_confirmation', [App\Http\Controllers\ClientPortal\NinjaPlanController::class, 'trial_confirmation'])->name('client.trial.response')->middleware(['domain_db']);
|
Route::post('ninja/trial_confirmation', [App\Http\Controllers\ClientPortal\NinjaPlanController::class, 'trial_confirmation'])->name('client.trial.response')->middleware(['domain_db']);
|
||||||
|
|
||||||
Route::get('plan', [App\Http\Controllers\ClientPortal\NinjaPlanController::class, 'plan'])->name('plan'); // name = (dashboard. index / create / show / update / destroy / edit
|
Route::get('plan', [App\Http\Controllers\ClientPortal\NinjaPlanController::class, 'plan'])->name('plan'); // name = (dashboard. index / create / show / update / destroy / edit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue