Rename mrp column to zmm_mrp migration, model, resource, importer and exporter pages
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 14s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 17s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 26s
Laravel Pint / pint (pull_request) Failing after 41s
Laravel Larastan / larastan (pull_request) Failing after 8m51s

This commit is contained in:
dhanabalan
2026-09-23 15:19:25 +05:30
parent 9a003bc22a
commit dc27b8e45d
5 changed files with 969 additions and 934 deletions

View File

@@ -556,7 +556,10 @@ class ItemCharacteristicImporter extends Importer
->label('ZMM AXIAL FORCE')
->exampleHeader('ZMM AXIAL FORCE')
->example(''),
ImportColumn::make('mrp'),
ImportColumn::make('zmm_mrp')
->label('ZMM MRP')
->exampleHeader('ZMM MRP')
->example(''),
ImportColumn::make('zmm_1'),
ImportColumn::make('zmm_2'),
ImportColumn::make('zmm_3'),
@@ -584,15 +587,15 @@ class ItemCharacteristicImporter extends Importer
// 'email' => $this->data['email'],
// ]);
return new ItemCharacteristic();
return new ItemCharacteristic;
}
public static function getCompletedNotificationBody(Import $import): string
{
$body = 'Your item characteristic import has completed and ' . number_format($import->successful_rows) . ' ' . str('row')->plural($import->successful_rows) . ' imported.';
$body = 'Your item characteristic import has completed and '.number_format($import->successful_rows).' '.str('row')->plural($import->successful_rows).' imported.';
if ($failedRowsCount = $import->getFailedRowsCount()) {
$body .= ' ' . number_format($failedRowsCount) . ' ' . str('row')->plural($failedRowsCount) . ' failed to import.';
$body .= ' '.number_format($failedRowsCount).' '.str('row')->plural($failedRowsCount).' failed to import.';
}
return $body;