Exemple #1
0
 public function getData()
 {
     $client = $this->client ? $this->client->getEmployer() ? $this->client->getEmployer()->getData() : null : null;
     if ($client) {
         $client['types'] = $this->client->getTypes();
     }
     return ['client' => $client, 'user' => $this->client ? $this->client->getData() : null, 'userid' => $this->client->getId(), 'dueDate' => $this->dueDate, 'quote_no' => $this->quote_no, 'project_no' => $this->project_no, 'tax' => $this->tax, 'discount' => $this->discount, 'duration' => $this->duration, 'field' => $this->field ? $this->field->getData() : null, 'id' => $this->id, 'interpretingInfo' => $this->interpretingInfo, 'serviceLevel' => $this->serviceLevel, 'pm' => $this->pm ? $this->pm->getData() : null, 'priority' => $this->priority, 'reference' => $this->reference, 'sale' => $this->sale ? $this->sale->getData() : null, 'sourceLanguage' => $this->sourceLanguage->getData(), 'startDate' => $this->startDate, 'status' => $this->status, 'targetLanguages' => $this->getArrayData($this->targetLanguages), 'po' => $this->po, 'sourcetext' => $this->sourcetext, 'currency' => $this->currency, 'total_tmp' => $this->total_tmp, 'total' => $this->total, 'types' => $this->types, 'transGraph' => $this->transGraph, 'payStatus' => $this->payStatus, 'description' => $this->description];
 }
Exemple #2
0
 public function getData()
 {
     return ['id' => $this->id, 'name' => $this->name, 'file' => $this->file ? $this->file->getData2() : null, 'language' => $this->language->getData(), 'rate' => $this->rate, 'rate_freelancer' => $this->rate_freelancer, 'quantity' => $this->quantity, 'unit' => $this->unit, 'total' => $this->total, 'total_freelancer' => $this->total_freelancer, 'of_freelancer' => $this->of_freelancer];
 }
 public function getData()
 {
     return array('id' => $this->id, 'sourceLanguage' => $this->sourceLanguage->getData(), 'targetLanguage' => $this->targetLanguage->getData(), 'service' => $this->service->getData(), 'priceDay' => $this->formatPrice($this->priceDay), 'priceHalfDay' => $this->formatPrice($this->priceHalfDay));
 }
 public function getData()
 {
     return ['id' => $this->id, 'createdDate' => $this->createdDate, 'project' => $this->project->getId(), 'language' => $this->targetLanguage->getData(), 'options' => $this->options, 'message' => $this->message];
 }
Exemple #5
0
 public function getData()
 {
     return ['id' => $this->id, 'name' => $this->name, 'is_completed' => $this->is_completed, 'is_client_pool' => $this->is_client_pool, 'is_deleted' => $this->is_deleted, 'is_specialism_pool' => $this->is_specialism_pool, 'language' => $this->language->getData(), 'project' => $this->project->getId(), 'status' => $this->status, 'type' => $this->type, 'dueDate' => $this->dueDate, 'startDate' => $this->startDate, 'total' => $this->total, 'total_freelancer' => $this->total_freelancer, 'assignee' => $this->assignee ? $this->assignee->getData() : null, 'task_number' => $this->task_number, 'currency' => $this->currency];
 }
 public function getData()
 {
     return array('id' => $this->id, 'language' => $this->language->getData(), 'priceHourMac' => $this->formatPrice($this->priceHourMac), 'priceHourPc' => $this->formatPrice($this->priceHourPc), 'priceMac' => $this->formatPrice($this->priceMac), 'pricePc' => $this->formatPrice($this->pricePc), 'software' => $this->software->getData());
 }
 public function getData()
 {
     return ['id' => $this->id, 'createdDate' => $this->createdDate, 'project' => $this->project->getId(), 'language' => $this->targetLanguage->getId(), 'language_data' => $this->targetLanguage->getData(), 'quality' => $this->quality, 'turnAroundTime' => $this->turnAroundTime, 'message' => $this->message];
 }
Exemple #8
0
 public function getData()
 {
     return ['id' => $this->id, 'name' => $this->name, 'language' => $this->language->getData(), 'rate' => $this->rate, 'sourcerepetitions' => $this->sourcerepetitions, 'sourcebawu' => $this->sourcebawu, 'sourcejiuwu' => $this->sourcejiuwu, 'sourcenomatch' => $this->sourcenomatch, 'sourceqiwu' => $this->sourceqiwu, 'sourcewushi' => $this->sourcewushi, 'sourceyibai' => $this->sourceyibai, 'raterepetitions' => $this->raterepetitions, 'rateyibai' => $this->rateyibai, 'ratejiuwu' => $this->ratejiuwu, 'ratebawu' => $this->ratebawu, 'rateqiwu' => $this->rateqiwu, 'ratewushi' => $this->ratewushi, 'ratenomatch' => $this->ratenomatch, 'total' => $this->total, 'raterepetitions_fl' => $this->raterepetitions_fl, 'rateyibai_fl' => $this->rateyibai_fl, 'ratejiuwu_fl' => $this->ratejiuwu_fl, 'ratebawu_fl' => $this->ratebawu_fl, 'rateqiwu_fl' => $this->rateqiwu_fl, 'ratewushi_fl' => $this->ratewushi_fl, 'ratenomatch_fl' => $this->ratenomatch_fl, 'total_freelancer' => $this->total_freelancer, 'rate_freelancer' => $this->rate_freelancer, 'of_freelancer' => $this->of_freelancer];
 }
Exemple #9
0
 public function getData()
 {
     return ['id' => $this->id, 'name' => $this->name, 'path' => $this->path, 'size' => $this->size, 'project' => $this->project ? $this->project->getData() : null, 'task' => $this->task ? $this->task->getData() : null, 'language' => $this->language ? $this->language->getData() : null, 'token' => $this->token, 'time' => $this->time, 'filetype' => $this->filetype];
 }