Browse Source

handling string

pull/3/head
wahyu 1 year ago
parent
commit
53cb5d59f9
  1. 1
      app/Http/Controllers/ActivityController.php

1
app/Http/Controllers/ActivityController.php

@ -428,6 +428,7 @@ class ActivityController extends Controller
$activityToUpdate = $activity->firstWhere('id', $entity['data']['id']);
$entity['data']['name'] = $entity['data']['text'];
$entity['data']['persentase_progress'] = $entity['data']['progress'] * 100;
$entity['data']['rencana_biaya'] = str_replace(",", ".", $entity['data']['rencana_biaya']);
if (isset($entity['data']['target'])) {
$this->updateOrder($entity['data']['id'], $entity['data']['target']);
}

Loading…
Cancel
Save