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

@@ -14,6 +14,7 @@ class ItemCharacteristicExporter extends Exporter
public static function getColumns(): array
{
static $rowNumber = 0;
return [
ExportColumn::make('no')
->label('NO')
@@ -289,6 +290,8 @@ class ItemCharacteristicExporter extends Exporter
->label('ZMM OPERATING TEMPERATURE'),
ExportColumn::make('zmm_axial_force')
->label('ZMM AXIAL FORCE'),
ExportColumn::make('zmm_mrp')
->label('ZMM MRP'),
ExportColumn::make('zmm_1')
->label('ZMM 1')
->enabledByDefault(false),
@@ -350,10 +353,10 @@ class ItemCharacteristicExporter extends Exporter
public static function getCompletedNotificationBody(Export $export): string
{
$body = 'Your item characteristic export has completed and ' . number_format($export->successful_rows) . ' ' . str('row')->plural($export->successful_rows) . ' exported.';
$body = 'Your item characteristic export has completed and '.number_format($export->successful_rows).' '.str('row')->plural($export->successful_rows).' exported.';
if ($failedRowsCount = $export->getFailedRowsCount()) {
$body .= ' ' . number_format($failedRowsCount) . ' ' . str('row')->plural($failedRowsCount) . ' failed to export.';
$body .= ' '.number_format($failedRowsCount).' '.str('row')->plural($failedRowsCount).' failed to export.';
}
return $body;