This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
ilor.portal_id, | |
ilor.load_result, | |
ilor.type_load, | |
ilor.gross_weight, | |
ilor.document_number, | |
ilor.producer_name, | |
ilor.producer_fiscal_number, | |
point_of_delivery_plant_name, | |
ilor.point_of_delivery_fiscal_number, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2024-01-07 11:11:24.518 19222-19918 NetworkConnection cast.com.py.castmobile3 I login in request: 0 | |
2024-01-07 11:11:24.518 19222-19918 NetworkConnection cast.com.py.castmobile3 I login in request: monsanto | |
2024-01-07 11:11:24.518 19222-19918 MessageFactory cast.com.py.castmobile3 I loginRequest: STARTED | |
2024-01-07 11:11:24.526 19222-19918 MessageFactory cast.com.py.castmobile3 I CREA MENSAJE LOGIN loginRequest: | |
DATA MESSAGE: | |
- Message Has Multimedia data: false | |
- Header fields qty: 18 | |
Pos 0: 1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
distinct rw.id, | |
coalesce(rw.disapproval_comment) as disapproval_comment, | |
rw.end_day, | |
rw.friday, | |
rw.monday, | |
rw.saturday, | |
rw.start_day, | |
rw.sunday, | |
rw.thursday, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const body = { | |
'debt': | |
{ | |
'docId': 'test', | |
'amount': { | |
'currency': 'PYG', | |
'value': 5000 | |
}, | |
'label': 'Deuda desde el postman', | |
'validPeriod': { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "cakedc\/app-builder", | |
"description": "CakePHP skeleton app", | |
"homepage": "https:\/\/cakephp.org", | |
"type": "project", | |
"license": "MIT", | |
"require": { | |
"php": ">=8.1", | |
"aws/aws-sdk-php": "^3.253", | |
"cakedc/admin": "^7.0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// legacy/models/couple.php | |
/** | |
* Returns the search data for bookshelf | |
* | |
* @param string | |
* @param array | |
* @param array | |
* @return | |
* @access protected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CouplesTable.php | |
$this->addBehavior('Josegonzalez/Upload.Upload', [ | |
'photo' => [ | |
'fields' => [ | |
// 'dir' => Configure::read('Media.basePath'), // defaults to `dir`\ | |
'dir' => 'photo_dir', // defaults to `dir` | |
'size' => 'photo_size', // defaults to `size` | |
'type' => 'photo_type', // d | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function edit($id = null) | |
{ | |
$couple = $this->Couples->get($id, [ | |
'contain' => [ | |
'Males', | |
'Females', | |
'Males.Profiles', | |
'Females.Profiles', | |
] | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->addFilter('first_name', [ | |
'className' => 'Custom', | |
'method' => fn(Query $query, $field, $value, $data, $options) => | |
// debug($query->contain(['Males', 'Females'])->leftJoinWith('Profiles')), | |
$query | |
->contain(['Males', 'Females']) | |
->leftJoinWith('Profiles') | |
->where([ | |
'OR' => [ | |
// $query->newExpr()->like($this->Males->Profiles->first_name, '%' . $value . '%'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'contain' => [ | |
'Churches', | |
'Males.Profiles', | |
], | |
'fields' => [ | |
'male.profile.first_name' => [ | |
'actions' => ['index', 'csv'], | |
'url' => [ | |
'action' => 'edit', | |
], |
NewerOlder