susee
This commit is contained in:
parent
f44969a8c5
commit
4d2adf5968
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,3 +1,7 @@
|
||||
.env
|
||||
/node_modules
|
||||
/storage
|
||||
.env
|
||||
/storage/log/
|
||||
/storage/uploads/
|
||||
!storage
|
||||
storage/*
|
||||
!storage/uploads/
|
||||
@ -198,7 +198,7 @@ exports.PullCreditPdPhotographsData = async (req, res) =>
|
||||
|
||||
};
|
||||
|
||||
|
||||
// MWISE00840
|
||||
|
||||
|
||||
|
||||
@ -295,7 +295,7 @@ exports.GetCreditPdData = async (req, res) =>
|
||||
{model: CreditKeyProductBusinessContribution }, {model: EmployeeStrength },
|
||||
{model: ClientDetail }, {model: StockDetail },
|
||||
{model: CreditExistingLoanObligation }, {model: FamilyMemberInvolvedInBusiness },
|
||||
{model : CreditManager }, // {model: Photograph },
|
||||
{model : CreditManager }, {model: Photograph },
|
||||
{model: CreditFinalRemarks }, {model: CreditLoanDetail },
|
||||
{model: CreditGeneralBusinessInformation }, {model: SupplierDetail }
|
||||
]
|
||||
|
||||
@ -99,6 +99,10 @@ module.exports = (sequelize, DataTypes) => {
|
||||
foreignKey: 'pd_id',
|
||||
sourceKey : 'pd_id'
|
||||
});
|
||||
CreditGeneralInformation.hasMany(models.Photograph, {
|
||||
foreignKey: 'pd_id',
|
||||
sourceKey : 'pd_id'
|
||||
});
|
||||
}
|
||||
|
||||
return CreditGeneralInformation
|
||||
|
||||
@ -153,9 +153,9 @@ router.post('/PullCreditPdPhotographsData', upload.single('img'),function(req,re
|
||||
* - in: query
|
||||
* name: img_name
|
||||
* schema:
|
||||
* type: integer
|
||||
* type: string
|
||||
* required: true
|
||||
* example:
|
||||
* example: 1652702282873-tree-736885__480
|
||||
* responses:
|
||||
* 200:
|
||||
* description: success
|
||||
|
||||
BIN
storage/uploads/1652702282873-tree-736885__480.jpg
Normal file
BIN
storage/uploads/1652702282873-tree-736885__480.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
BIN
storage/uploads/1652702321006-tree-736885__480.jpg
Normal file
BIN
storage/uploads/1652702321006-tree-736885__480.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
BIN
storage/uploads/1652765011227-download.jpg
Normal file
BIN
storage/uploads/1652765011227-download.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
BIN
storage/uploads/1652771595904-download.jpg
Normal file
BIN
storage/uploads/1652771595904-download.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
BIN
storage/uploads/1652771661979-download.jpg
Normal file
BIN
storage/uploads/1652771661979-download.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
BIN
storage/uploads/1652771695177-download.jpg
Normal file
BIN
storage/uploads/1652771695177-download.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.8 KiB |
Loading…
Reference in New Issue
Block a user