Skip to content

Commit

Permalink
chore: removed dd statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramkanakam87 committed Oct 1, 2024
1 parent cceba8e commit ae4bd28
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions app/Filament/Dashboard/Resources/ReportResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,6 @@ public static function prepareApprovedChanges(Report $record, $livewire)

public static function approveReport(array $data, Report $record, Molecule $molecule, $livewire): void
{
// dd($data, $record, $molecule, $livewire);
// Run SQL queries for the approved changes
self::runSQLQueries($record);

Expand All @@ -637,7 +636,6 @@ public static function runSQLQueries(Report $record): void
{
DB::transaction(function () use ($record) {
self::$overall_changes = getOverallChanges(self::$approved_changes);
// dd(self::$overall_changes);

// Check if 'molecule_id' is provided or use a default molecule for association/dissociation
$molecule = Molecule::where('identifier', $record['mol_id_csv'])->first();
Expand Down
1 change: 0 additions & 1 deletion app/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ function changeAudit(array $data): array
if (array_key_exists('identifier', $value)) {
$value['name'] = $value['name'].' (ID: '.$value['id'].')'.' (COCONUT ID: '.$value['identifier'].')';
} else {
// ! array_key_exists('name', $value) ? dd($value) : '';
$value['name'] = $value['name'].' (ID: '.$value['id'].')';
}
} else {
Expand Down
3 changes: 0 additions & 3 deletions app/Livewire/MoleculeHistoryTimeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ public function getHistory()
$audit_data[$index]['user_name'] = $audit->getMetadata()['user_name'];
$audit_data[$index]['event'] = $audit->getMetadata()['audit_event'];
$audit_data[$index]['created_at'] = date('Y/m/d', strtotime($audit->getMetadata()['audit_created_at']));
// dd($audit->old_values, $audit->new_values);
// dd($audit->getModified());

$key = null;
$old_key = $audit->old_values ? explode('.', array_keys($audit->old_values)[0])[0] : null;
Expand All @@ -41,7 +39,6 @@ public function getHistory()

array_push($audit_data, $initial_audit);
$this->audit_data = $audit_data;
// dd($audit_data);
}

public function render()
Expand Down

0 comments on commit ae4bd28

Please sign in to comment.